| com.droidux.pack.list.adapters.LoadOnDemandAdapter |
Extends Adapter to provide data "on-demand" when used with widgets that supports it,
such as the DuxListView.
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.widget.Adapter
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Gets the loading view to be displayed while the adapter is refreshed in the background.
| |||||||||||
Returns true when the adapter has more data after the last position
| |||||||||||
Decides whether the adapter should be automatically refreshed in the background or will be manually
refreshed, for example after the user tap a button.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.widget.Adapter
| |||||||||||
From interface
com.droidux.pack.list.interfaces.OnRefreshListener
| |||||||||||
Gets the loading view to be displayed while the adapter is refreshed in the background.
| lastPosition | The position of the currently last data in the adapter. |
|---|---|
| convertView | The old view to reuse, if possible. Note: You should check that this view is non-null and of an appropriate type before using. |
| autoLoad | A flag to indicate whether the adapter is automatically refreshed. |
Returns true when the adapter has more data after the last position
| lastPosition | The position of the currently last data in the adapter. |
|---|
Decides whether the adapter should be automatically refreshed in the background or will be manually refreshed, for example after the user tap a button.
| lastPosition | The position of the currently last data in the adapter. |
|---|