|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface ImagePrecacheAssistant.PrecacheInformationProvider
This interface must be implemented in order for the ImagePrecacheAssistant to function.
| Method Summary | |
|---|---|
int |
getCount()
This method must return the number of elements in the adapter. |
java.util.List<java.lang.String> |
onRowPrecacheRequestsForDiskCacheRequired(int position)
This method returns a list of the URIs that are required for a particular position in the adapter. If there are no image URIs available for the provided position, an empty list should be returned. |
java.util.List<ImagePrecacheAssistant.PrecacheRequest> |
onRowPrecacheRequestsForMemoryCacheRequired(int position)
|
| Method Detail |
|---|
int getCount()
BaseAdapter#getCount() method.
java.util.List<java.lang.String> onRowPrecacheRequestsForDiskCacheRequired(int position)
position - The position for which images will be precached.
ImagePrecacheAssistant.PrecacheRequests. Each PrecacheRequest should contain a URI for a particular image and the bounds of the view the image will be loaded into. The bounds should be
provided in pixels, or be given as null.java.util.List<ImagePrecacheAssistant.PrecacheRequest> onRowPrecacheRequestsForMemoryCacheRequired(int position)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||