public int getScrollY(AbsListView mListView) {
View c = mListView.getChildAt(0);
if (c == null ) {
return 0;
}
int firstVisiblePosition = mListView.getFirstVisiblePosition();
int top = c.getTop();
return -top + firstVisiblePosition * c.getHeight() ;
}
View c = mListView.getChildAt(0);
if (c == null ) {
return 0;
}
int firstVisiblePosition = mListView.getFirstVisiblePosition();
int top = c.getTop();
return -top + firstVisiblePosition * c.getHeight() ;
}