How to monitor intends produced inside activity in ActivityTestCase?
Question
How to monitor intends produced inside activity in ActivityTestCase? I need to get all intends produced by activity and assert on their data Thanks
Solution
An activity can have only one intent
You can get that intent using getIntent()
method
Thanks Deepak
OTHER TIPS
use this code
Intent intent=context.getIntent();
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow