The android.view.View.getScrollY method returns the vertical scroll position of the view. It is used to determine the amount by which the view has been scrolled vertically.
// assuming 'view' is an instance of View class
int scrollY = view.getScrollY();
This method can be useful when implementing scrolling animations or when determining the precise position of a view.
Package library: android.view.
Java View.getScrollY - 30 examples found. These are the top rated real world Java examples of android.view.View.getScrollY extracted from open source projects. You can rate examples to help us improve the quality of examples.