BaseItemProvider@Deprecated public abstract class RecycleItemProvider extends BaseItemProvider
RecycleItemProvider object to associate a ComponentProvider item with fundamental data
of a Component.
A recycler adapter extends BaseItemProvider.
It can be used by each Component item in the dataset to release memory resources.
| 构造器 | 说明 |
|---|---|
RecycleItemProvider() |
已过时。
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
int |
getCacheSize() |
已过时。
This change is effective since API version 5.Not used anymore. Cache size is calculating
dynamically, depending on layout rules.
|
void |
onItemMoved(int from,
int to) |
已过时。
This change is effective since API version 5. Not used anymore. Replaced by
onItemMoved(int from, int to) in BaseItemProvider |
void |
setCacheSize(int size) |
已过时。
This change is effective since API version 5.Not used anymore. Cache size is calculating
dynamically, depending on layout rules.
|
addDataSubscriber, getComponent, getComponentTypeCount, getCount, getFilter, getItem, getItemComponentType, getItemId, notifyDataChanged, notifyDataInvalidated, notifyDataSetItemChanged, notifyDataSetItemInserted, notifyDataSetItemRangeChanged, notifyDataSetItemRangeInserted, notifyDataSetItemRangeRemoved, notifyDataSetItemRemoved, removeDataSubscriber, setFilter@Deprecated public RecycleItemProvider()
@Deprecated public void onItemMoved(int from, int to)
onItemMoved(int from, int to) in BaseItemProvideronItemMoved 在类中 BaseItemProviderfrom - Indicates the original position of the Component item in the dataset.to - Indicates the latest position of the Component item in the dataset.@Deprecated public void setCacheSize(int size)
size - Indicates the maximum number of Component that can be created.@Deprecated public int getCacheSize()
Component that can be created.