ユーザーを表示するカスタムリストビューがあり、そこに写真があり、APIからデータを取得し、JSON出力を提供します。
私の問題は、リストビューがスムーズにスクロールせず、1秒間ハングしてスクロールし、最後に到達するまで同じことを繰り返すことです.
私はUIスレッドでネットワーク関連の操作を実行しているので、私かもしれないと思っていましたが、ロードが完了した後もそれを続けていますか?
私のカスタムリストビューの構造は
<TextView style="@style/photo_post_text"
android:id="@+id/photo_post_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="demotext"
/>
<ImageView
android:id="@+id/userimage"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
android:adjustViewBounds="true"
android:src="@drawable/pi"
/>