最初に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
。助けてください