Avoid crash : adapter has changed but ListView did not receive a notification

 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(16908298, class com.mobeta.android.dslv.DragSortListView) with Adapter(class com.mobeta.android.dslv.DragSortListView$AdapterWrapper)]
            at android.widget.ListView.layoutChildren(ListView.java:1555)
            at com.mobeta.android.dslv.DragSortListView.layoutChildren(DragSortListView.java:2136)
            at android.widget.AbsListView.onLayout(AbsListView.java:2091)
Remove synchronization on update()
To be tested.