2

最初に2つを使用していますListViewがメインListViewで、の最初の行のListView中にの他のアイテムを追加していますが、スクロールできないListView値に応じて問題が発生します。ListView

 java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a background thread, but only from the UI thread.

問題を検索したところ、アダプターに値を追加した後に呼び出さなければならないことがわかりましたnotifydatasetchangedが、あまりにもスクロールビューが で管理されていませんListView。助けてください

4

0 に答える 0