Android 10.0 java.lang.IllegalStateException The content of the adapter has

1.前言

在10.0的系统rom定制化开发中,在某些时候,关于在Listview刷新数据的时候,出现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.崩溃异常, 接下来分析下相关原因,然后解决问题

2.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问题解决的核心类

/frameworks/base/core/java/android/widget/ListView.java

3.Android 10.0 java.lang.IllegalStateException The content of the adapter has changed but ListView did not receive a notification. Make sur

你可能感兴趣的:(android,10.0,Rom开发疑难问题分析,android,java,ListView,adapter,rom)