What is a Sticky Intent?

1 votes
162 views
Harsh kumar srivastava asked 10-Jan-2018 in Technology by Harsh kumar srivastava

What is a Sticky Intent?

1 Answer

1 votes
Prateek sharma answered 10-Jan-2018 by Prateek sharma

A sticky intent is also a type of intent which allows the user to send messages through activities or services. the sticky intent is used where we want to retain the value after it has been broadcasted by sendStrickeyBroadcast() method.

the value can be accessed by the value returned by registerReceiver(BroadcastReceiver, IntentFilter).