You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2018. It is now read-only.
BroadcastReceiver of CircleOfTrustFragment is registered in OnResume() of MainActivity as found here. But the receiver will not be registered as it is not initialized (it is initialized in onCreateView() of the CircleOfTrustFragment) and when trying to unregister it in OnPause() throws error in Logcat.
I think it's better to register and unregister the receiver in the lifecycle methods of CircleOfTrustFragment itself.
The text was updated successfully, but these errors were encountered:
BroadcastReceiver of CircleOfTrustFragment is registered in
OnResume()
of MainActivity as found here. But the receiver will not be registered as it is not initialized (it is initialized inonCreateView()
of the CircleOfTrustFragment) and when trying to unregister it inOnPause()
throws error in Logcat.I think it's better to register and unregister the receiver in the lifecycle methods of CircleOfTrustFragment itself.
The text was updated successfully, but these errors were encountered: