public View getView(int position, View view, ViewGroup parent) {
ViewHolder holder;
if (view != null) {
holder = view.getTag();
} else {
view = LayoutInflater.from(activity).inflate(R.layout.something , parent, false);
holder = new ViewHolder(view);
view.setTag(holder);
}
holder.scrollView.scrollTo(x,y);
return view;
}
答案 0 :(得分:1)
根据评论:
一旦我移动列表视图,我希望滚动滚动到x即可 组。不幸的是,它没有。
你需要听滚动视图的滚动事件,这应该是这样的:
MongoGridFSCreateOptions