public final enum

Priority

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.facebook.imagepipeline.common.Priority

Class Overview

Priority levels recognized by the image pipeline.

Summary

Enum Values
Priority  HIGH  Highest priority level. 
Priority  LOW  Lowest priority level. 
Priority  MEDIUM  Medium priority level. 
Public Methods
static Priority getHigherPriority(Priority priority1, Priority priority2)
Gets the higher priority among the two.
static Priority valueOf(String name)
final static Priority[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final Priority HIGH

Highest priority level. Used for images that are currently visible on screen.

public static final Priority LOW

Lowest priority level. Used for prefetches of non-visible images.

public static final Priority MEDIUM

Medium priority level. Used for warming of images that might soon get visible.

Public Methods

public static Priority getHigherPriority (Priority priority1, Priority priority2)

Gets the higher priority among the two.

Returns
  • higher priority

public static Priority valueOf (String name)

public static final Priority[] values ()