|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
T - The type of the model the size should be provided for.public static interface ListPreloader.PreloadSizeProvider<T>
An implementation of PreloadSizeProvider should provide the size of the view in the list where the resources will be displayed.
| Method Summary | |
|---|---|
int[] |
getPreloadSize(T item,
int adapterPosition,
int perItemPosition)
Returns the size of the view in the list where the resources will be displayed in pixels in the format [x, y], or null if no size is currently available. |
| Method Detail |
|---|
int[] getPreloadSize(T item,
int adapterPosition,
int perItemPosition)
null if no size is currently available.
Note - The dimensions returned here must precisely match those of the view in the list.
item - A model
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||