문제

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();
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top