Error: uncaught exception. [THREAD] main [EXCEPTION] 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(-1, class android.widget.ListView) with Adapter(class com.algobase.hrv.s)] 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(-1, class android.widget.ListView) with Adapter(class com.algobase.hrv.s)] [STACK TRACE] 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(-1, class android.widget.ListView) with Adapter(class com.algobase.hrv.s)] at android.widget.ListView.layoutChildren(ListView.java:1717) at android.widget.AbsListView.onTouchUp(AbsListView.java:4101) at android.widget.AbsListView.onTouchEvent(AbsListView.java:3893) at android.view.View.dispatchTouchEvent(View.java:14360) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3112) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2785) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799) at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:535) at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1899) at android.app.Dialog.dispatchTouchEvent(Dialog.java:859) at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:493) at android.view.View.dispatchPointerEvent(View.java:14619) at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:6174) at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:5977) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5468) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5525) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5491) at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:5643) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5499) at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:5700) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5472) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5525) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5491) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5499) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5472) at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:8318) at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:8234) at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:8195) at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:8454) at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:227) at android.os.MessageQueue.nativePollOnce(Native Method) at android.os.MessageQueue.next(MessageQueue.java:342) at android.os.Looper.loop(Looper.java:197) at android.app.ActivityThread.main(ActivityThread.java:7877) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958) android.widget.ListView.layoutChildren(ListView.java:1717) android.widget.AbsListView.onTouchUp(AbsListView.java:4101) android.widget.AbsListView.onTouchEvent(AbsListView.java:3893) android.view.View.dispatchTouchEvent(View.java:14360) android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3112) android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2785) android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118) android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799) android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118) android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799) android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118) android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799) android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118) android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799) android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3118) android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2799) com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:535) com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1899) android.app.Dialog.dispatchTouchEvent(Dialog.java:859) com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:493) android.view.View.dispatchPointerEvent(View.java:14619) android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:6174) android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:5977) android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5468) android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5525) android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5491) android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:5643) android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5499) android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:5700) android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5472) android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5525) android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5491) android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5499) android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5472) android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:8318) android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:8234) android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:8195) android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:8454) android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:227) android.os.MessageQueue.nativePollOnce(Native Method) android.os.MessageQueue.next(MessageQueue.java:342) android.os.Looper.loop(Looper.java:197) android.app.ActivityThread.main(ActivityThread.java:7877) java.lang.reflect.Method.invoke(Native Method) com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958)