0

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

Aeons
  • 13
  • 4
  • Hay Check this stack overflow Link : http://stackoverflow.com/questions/17029256/how-to-implement-swipe-down-to-refresh-like-in-new-gmail-app/21339123#21339123 –  Jan 24 '14 at 18:38

1 Answers1

0

Chris Banes's ListView has an internal ListView class. You can access it via getRefreshableView() method. For example:

((ListView)youListView.getRefreshableView()).getFirstVisiblePosition();
Roman Black
  • 3,501
  • 1
  • 22
  • 31