android - How to get the current Y offset of a ScrollView -


scrollview has method setting x , y scroll offset, no method getting current offset (all i'm interested y offset, since scrollview supports vertical scrolling). don't see method work in superclasses, , tried gettop() content view, zero. missing something?

call getscrolly() on scrollview. see here more details: http://developer.android.com/reference/android/view/view.html#getscrolly%28%29


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -