Commit 1b29a336 authored by Geoffrey Métais's avatar Geoffrey Métais

AudioBrowser: clear medialibrary callbacks

parent 2f830a09
......@@ -172,6 +172,8 @@ public class AudioBrowserFragment extends BaseAudioBrowser implements SwipeRefre
} else {
mMediaLibrary.removeMediaUpdatedCb();
mMediaLibrary.removeMediaAddedCb();
mMediaLibrary.setArtistsAddedCb(null);
mMediaLibrary.setAlbumsAddedCb(null);
for (View rv : mLists)
unregisterForContextMenu(rv);
mViewPager.removeOnPageChangeListener(this);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment