java.lang.IllegalStateException: Observer android.database.MergeCursor$1@570f82d is already registered.

Stack Overflow | Pratik Butani | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Android RecyclerView + CursorLoader + ContentProvider + "Load More"

    Stack Overflow | 6 months ago | Pratik Butani
    java.lang.IllegalStateException: Observer android.database.MergeCursor$1@570f82d is already registered.
  2. 0

    Android RecyclerView + CursorLoader + ContentProvider + “Load More”

    GitHub | 6 months ago | pratikbutani
    java.lang.IllegalStateException: Observer android.database.MergeCursor$1@570f82d is already registered.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Observer android.database.MergeCursor$1@570f82d is already registered.

      at android.database.Observable.registerObserver()
    2. Android Platform
      MergeCursor.<init>
      1. android.database.Observable.registerObserver(Observable.java:49)
      2. android.database.AbstractCursor.registerDataSetObserver(AbstractCursor.java:358)
      3. android.database.CursorWrapper.registerDataSetObserver(CursorWrapper.java:222)
      4. android.database.MergeCursor.<init>(MergeCursor.java:50)
      4 frames
    3. com.kevalam.koops
      ProductListActivity.onLoadFinished
      1. com.kevalam.koops.adapter.ProductListAdapter.mergeCursor(ProductListAdapter.java:71)
      2. com.kevalam.koops.ui.ProductListActivity.onLoadFinished(ProductListActivity.java:161)
      3. com.kevalam.koops.ui.ProductListActivity.onLoadFinished(ProductListActivity.java:38)
      3 frames