Android ScrollView 滑动到底部
Android About 270 words滚动到底部
scrollView.fullScroll(ScrollView.FOCUS_DOWN);
滚动到顶部
scrollView.fullScroll(ScrollView.FOCUS_UP);
子线程可使用post
mScrollView.post(new Runnable() {
@Override
public void run() {
mScrollView.fullScroll(ScrollView.FOCUS_DOWN);
}
});
Views: 4,269 · Posted: 2019-04-09
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb/LiteNote扫描下方二维码关注公众号和小程序↓↓↓
Loading...