I actually tried getScrollY() but it doesn't seems to register anything -
always shows 0. firstVisibleItem shows correctly, and I could use that but
it's not granular enough.
left_speeds.setOnScrollListener(new OnScrollListener(){
@Override
public void onScroll(AbsListView view, int firstVisibleItem, int
visibleItemCount, int totalItemCount)
{
Log.i(TAG, "scrolling to "+ view.getScrollY());
}
@Override
public void onScrollStateChanged(AbsListView view, int scrollState)
{
if(scrollState == OnScrollListener.SCROLL_STATE_IDLE) Log.i(TAG,
"scrolling stopped for " + view.toString());
}
});
Am I looking at the wrong view?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en