In your CustomListView:
@Override
public boolean dispatchTouchEvent(MotionEvent ev){
if(ev.getAction()==MotionEvent.ACTION_MOVE)
return true;
return super.dispatchTouchEvent(ev);
}
Then ListView will react to clicks, but will not change scroll position.
More Related Contents:
- Checkbox unchecked when I scroll listview on Android
- Listview Scroll to the end of the list after updating the list
- Populate Listview from JSON
- OnItemClickListener and OnClickListener not working for ListView
- how to detect Android ListView Scrolling stopped?
- Detecting the scrolling direction in the adapter (up/down)
- Android ListView add items to top without list view scroll [duplicate]
- Android Listview slow down scroll speed
- ListView item background via custom selector
- How do you dynamically add elements to a ListView on Android?
- OnItemCLickListener not working in listview
- How to dynamically update a ListView on Android [closed]
- Android, ListView IllegalStateException: “The content of the adapter has changed but ListView did not receive a notification”
- Scroll RecyclerView to show selected item on top
- Counting Chars in EditText Changed Listener
- ListView with OnItemClickListener
- Background ListView becomes black when scrolling
- Location service GPS Force closed
- Custom ListView Android
- ListView in ArrayAdapter order get’s mixed up when scrolling
- How to save scroll position of RecyclerView in Android?
- Creating ViewHolders for ListViews with different item layouts
- Android: xml layout for a listview with different items
- android listview get selected item
- how to display fetched json data into listview using baseadapter
- How to retrieve more than 1000 rows from Parse.com?
- Android: How to measure total height of ListView [duplicate]
- How to implement pagination in Android listview
- OnItemClickListener doesn’t work with ListView item containing button
- BaseAdapter causing ListView to go out of order when scrolled