MarkoMilos / Paginate

Library for creating simple pagination functionality upon RecyclerView and AbsListView

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Paginate observer was not registered

Odaym opened this issue · comments

Hi there, great library!

I was wondering about this exception that keeps happening at certain times where the paginate object was unbound and now you call unbind on it again:

Fatal Exception: java.lang.IllegalStateException
Observer com.paginate.a.g@6489523 was not registered.
com.paginate.recycler.RecyclerPaginate.unbind

I know that the simple solution is to not do this, but do you know how I can find if paginate has been registered first before i call that unbind()?

Thanks a lot

Do you have a sample or snippet on how to reproduce this issue?

Calling unbind() multiple times is working just fine in my case.

Are you calling unbind() multiple times from different threads?