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