What is the life cycle of a broadcast receiver in android?

Answer: onReceive()

Description:  there is only one function in broad cast receiver, that is onReceive(). Broadcast receiver's life will start before calling onReceive() method, and once control comes out of onReceive() method, then it will be killed.

No comments:

Post a Comment