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. Make sure your adapter calls notifyDataSetChanged() when its content changes. [in ListView(2131558619, class android.widget.ListView) with Adapter(class com.quinny898.library.persistentsearch.SearchBox$SearchAdapter)]
at android.widget.ListView.layoutChildren(ListView.java:1573)
at android.widget.AbsListView.onTouchModeChanged(AbsListView.java:3613)
at android.view.ViewTreeObserver.dispatchOnTouchModeChanged(ViewTreeObserver.java:997)
at android.view.ViewRootImpl.ensureTouchModeLocally(ViewRootImpl.java:3535)
at android.view.ViewRootImpl.access$400(ViewRootImpl.java:103)
at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3346)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:152)
at android.app.ActivityThread.main(ActivityThread.java:5497)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
User:从来没有岁月能长留 http://weibo.com/u/2053276082 Latest crash log: Android Version: 6.0.1 Device Model: ONE A2001 Device Manufacturer: OnePlus App Version: 2.2.2/45
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. Make sure your adapter calls notifyDataSetChanged() when its content changes. [in ListView(2131558619, class android.widget.ListView) with Adapter(class com.quinny898.library.persistentsearch.SearchBox$SearchAdapter)] at android.widget.ListView.layoutChildren(ListView.java:1573) at android.widget.AbsListView.onTouchModeChanged(AbsListView.java:3613) at android.view.ViewTreeObserver.dispatchOnTouchModeChanged(ViewTreeObserver.java:997) at android.view.ViewRootImpl.ensureTouchModeLocally(ViewRootImpl.java:3535) at android.view.ViewRootImpl.access$400(ViewRootImpl.java:103) at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3346) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:152) at android.app.ActivityThread.main(ActivityThread.java:5497) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)