如何诱导本机ListView滚动[android]
在父视图中重写了onInterceptTouchEvent后,我的如何诱导本机ListView滚动[android],android,listview,android-listview,scroll,Android,Listview,Android Listview,Scroll,在父视图中重写了onInterceptTouchEvent后,我的列表视图出现问题。列表视图不会滚动 我尝试将MotionEvent分派到ListView中,但似乎没有以任何方式处理它 boolean done = mListView.dispatchTouchEvent(event); Log.d("listView dispatch", String.valueOf(done)); done始终为真,因此我猜事件接收正确 我还尝试过按偏移量和位置滚动列表视图,但这产生了一种非常人为的体验
列表视图出现问题。列表视图不会滚动
我尝试将MotionEvent
分派到ListView
中,但似乎没有以任何方式处理它
boolean done = mListView.dispatchTouchEvent(event);
Log.d("listView dispatch", String.valueOf(done));
done
始终为真,因此我猜事件接收正确
我还尝试过按偏移量和位置滚动列表视图
,但这产生了一种非常人为的体验
有没有办法让我的列表视图以默认方式滚动