スクロールリストビューを使用すると、本当にバグがあるようです。すべてのデータ (すべてのネットワーク呼び出しを含む) を準備するリストビュー アダプターがあり、リストビュー アダプターにデータを入力します。
スクロールはスムーズではなく、ほとんどの場合、ScrollView 内に ListView を実装すると機能しません。
<ScrollView
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
<ListView
android:id="@+id/rideList"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/customersTitle"
android:background="@drawable/roundcornersgreyback"
android:scrollbarSize="3dp"
android:scrollbarStyle="outsideOverlay"
android:scrollbars="vertical"
android:scrollingCache="true"
android:smoothScrollbar="true"
android:visibility="visible" />
</ScrollView>
ScrollView なしでスクロールすると、ListView 自体の属性を使用するだけで、リストはスクロールしますが、レイアウトの下部に失われた部分があります。フッターは非表示です。
<ListView
android:id="@+id/rideList"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/customersTitle"
android:background="@drawable/roundcornersgreyback"
android:scrollbarSize="3dp"
android:scrollbarStyle="outsideOverlay"
android:scrollbars="vertical"
android:scrollingCache="true"
android:smoothScrollbar="true"
android:visibility="visible" />
ScrollView をレイアウトのルートに取得すると、リスト ビューはまったくスクロールできません。
私は何を間違っていますか?リストとビューをスクロールする必要があるのはクレイジーですか?
編集:コードはviewHolderレイアウトに従っています。