在ListView中使用scrollTo(int x,int y)方法后,我向下滚动它再次返回顶部

时间:2013-05-13 09:58:42

标签: android android-listview android-scroll

我想使用方法scrollTo(int x, int y)让我的ListView本地化点(x,y),但在方法工作之后,我向下滚动ListView,滚动条酒吧又回到了顶峰。我不知道为什么。方法smoothScrollBy(distance, duration)有效,但不能满足我。顺便说一句,ListView中每个项目的高度都在屏幕上。

p.s:我是中国人,我对英语太疯狂了,但这可能会让你感到困惑。

0 个答案:

没有答案