oldergod / android-architecture

MVI architecture Implementation of the ToDo app.
Apache License 2.0
669 stars 70 forks source link

How to unsubscribe a boundaryCallback? #61

Open 7-cat opened 5 years ago

7-cat commented 5 years ago

When I put some same fragments in the viewpager, the onZeroItemsLoaded called multiple times, and the xxxtActionProcessorHolder is cause memory leak because it is referenced by boundaryCallback object. Is there a way to unsubscribe a boundaryCallback?