Reputation: 644
I'm just wondering what this does.
I've tried using:
scrollView.smoothScrollTo(0, scrollView.bottom)
, but it doesn't even scroll all the way to the bottom...
Thanks
Upvotes: 1
Views: 230
Reputation: 1718
Try to use the code below. It should work for you.
scrollView.post(new Runnable() {
@Override
public void run() {
scrollView.smoothScrollTo(0, scrollView.bottom);
}
});
scrollView.post { scrollView.smoothScrollTo(0, scrollView.bottom) }
Feel free to ask if something is unclear.
Upvotes: 1