Skip to content
Snippets Groups Projects
Commit 1b29a336 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

AudioBrowser: clear medialibrary callbacks

parent 2f830a09
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment