Where to register broadcast receivers that updates UI? If I have a broadcast receiver that updates my UI frequently, then where should I register that bro adcast receiver in my activity life cycle functions?
onStart() function will be called just before your activity will be made visible to the user. So any thing that affects UI has to be registered in onStart() function.
No comments:
Post a Comment