i am currently using chris bane pull to refresh library and i need the method of the normal listview like ".getFirstVisiblePosition()" and ".setSelection(number)" would anyone know how to get this method and how to implemnt load more???
-thanks
i am currently using chris bane pull to refresh library and i need the method of the normal listview like ".getFirstVisiblePosition()" and ".setSelection(number)" would anyone know how to get this method and how to implemnt load more???
-thanks
Chris Banes's ListView has an internal ListView class. You can access it via getRefreshableView()
method.
For example:
((ListView)youListView.getRefreshableView()).getFirstVisiblePosition();