私は単純なリストビューを持っています:
<?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" />
このリスト ビューは、AdapterView の一部です。
私のコードでは、 を呼び出しますlistView.scrollBy(deltaX,deltaY)
。これにより、リスト ビューがオーバースクロールします。代わりに使用しても、まったく同じコードでオーバースクロールは発生しませんScrollView
。
どうして???