scrollview programmatically android code example
Example 1: scrollview scroll programmatically android
nestedScrollView.fullScroll(View.FOCUS_UP);
nestedScrollView.smoothScrollTo(0,0);
Example 2: scrollview scroll programmatically android
nestedScrollView.fullScroll(View.FOCUS_DOWN);
nestedScrollView.fullScroll(View.FOCUS_UP);