onResume() & unsubscribe on onPause()
Android MVP that survives view life-cycle, configuration & internet changes, part-1
Viraj Tank
454

onPause/onResume is not a good place to do it because the UI might still be visible (for example when there’s a dialog, or in multi-window). A better place would be onStart/onStop.