I have a simple list view:
<?xml version="1.0" encoding="utf-8"?>
<ListView xmlns:android="http://schemas.android.com/apk/res/android"
android:choiceMode="singleChoice"
android:overScrollMode="never"
android:layout_width="match_parent" android:layout_height="match_parent" />
This list view is part of an AdapterView.
In my code, I call listView.scrollBy(deltaX,deltaY)
. This causes the list view to overscroll. The same exact code does not cause an overscroll if I use ScrollView
instead.
Why???