Best practice when to register a broadcast receiver?

a quick opinion question about where it is "better" to register the recipient? In my case, my service sends a broadcast every time the user interface needs to be updated.

Parameters, as I understand them, manifest, OnCreate, OnStart, Onresume

Naturally, with the appropriate registrar.

I think it makes sense for the UI update script to insert onresume and onpause ... your thoughts?

+3
source share
1 answer

, GUI, . , OnResume OnPause, , , . onStart onStop, , (.. ). . 2 . " , :"

+2

All Articles