Skip navigation links
C D G I N O P R S 

C

close() - Method in interface pager.DataProvider
Close the provider and do any cleanup
close() - Method in class pager.Pager
Close the data source, performs any cleanup as needed

D

DataProvider<T> - Interface in pager
Provides the actual data to Pager

G

get(int) - Method in interface pager.DataProvider
Returns the data at the given position, or throw IndexOutOfBoundsException if position is invalid
get(int) - Method in class pager.Pager
Returns the data at the given position
getPagerNotifier() - Method in class pager.Pager
Returns the PagerNotifier which can be used to replace a data or update the whole data.

I

iterator() - Method in class pager.Pager
 

N

notifyDataAdded(T, int) - Method in interface pager.PagerNotifier
Notify that a data is added
notifyDataRemoved(int) - Method in interface pager.PagerNotifier
Notify that a data is removed
notifyDataReplaced(T, T) - Method in interface pager.PagerNotifier
Notify that a data is replaced with another data
notifyDataSetChanged() - Method in interface pager.PagerNotifier
Notify that the data set has changed and needs to be re-fetched

O

onDataAdded(T, int) - Method in interface pager.PagerListener
Notify that a data is added
onDataRemoved(int) - Method in interface pager.PagerListener
Notify that a data is removed
onDataReplaced(T, T) - Method in interface pager.PagerListener
Called when a data is replaced with another data
onDataSetChanged() - Method in interface pager.PagerListener
Called when the data set changed, like size changes

P

pager - package pager
 
Pager<T> - Class in pager
Provides access to a collection of data paging them as needed.
Pager(DataProvider<T>) - Constructor for class pager.Pager
Creates an instance of Pager
PagerListener<T> - Interface in pager
Listener to register to get notified about changes to the data in a Pager
PagerNotifier<T> - Interface in pager
Use this to notify the Pager clients that a data is replaced or data size changed.

R

registerListener(PagerListener<T>) - Method in interface pager.PagerNotifier
 

S

setPagerListener(PagerListener<T>) - Method in class pager.Pager
Sets a PagerListener to listen for data replacements or data updates
setPageSize(int) - Method in class pager.Pager
Sets the paging size
size() - Method in interface pager.DataProvider
Returns the size of the data set
size() - Method in class pager.Pager
Returns the number of elements
C D G I N O P R S 
Skip navigation links