you should run the code inside the scroll.post like this:
scroll.post(new Runnable() {
@Override
public void run() {
scroll.fullScroll(View.FOCUS_DOWN);
}
});
More Related Contents:
- how to develop android scrollview with custom design
- How can I put a ListView into a ScrollView without it collapsing?
- Android list view inside a scroll view
- Making TextView scrollable on Android
- RecyclerView inside ScrollView is not working
- HorizontalScrollView within ScrollView Touch Handling
- Detect end of ScrollView
- Disable ScrollView Programmatically?
- Recyclerview inside ScrollView not scrolling smoothly
- Scrollview can host only one direct child [duplicate]
- Dynamic height viewpager
- Use RecyclerView inside ScrollView with flexible Recycler item height
- How to prevent a scrollview from scrolling to a webview after data is loaded?
- Page scroll when soft keyboard popped up
- How can I make my layout scroll both horizontally and vertically?
- Recyclerview Changing Items During Scroll
- Android: ScrollView vs NestedScrollView
- Android Keyboard hides EditText
- ScrollView not scrolling at all
- Android – how to make a scrollable constraintlayout?
- How to Hide ActionBar/Toolbar While Scrolling Down in Webview
- What APIs are used to draw over other apps (like Facebook’s Chat Heads)?
- Understanding Fragment’s setRetainInstance(boolean)
- How to Programmatically Add Views to Views
- Android Room: Insert relation entities using Room
- Using cURL in Android
- findFragmentByTag() returns null after perform a FragmentTransaction using replace() method
- Playing youtube video in Android app
- How To Exclude Specific Resources from an AAR Depedency?
- How to play an audio file on a voice call in android