Reputation: 43893
In android, I want to use onResume(), but I don't want it to fire when the activity is created. I want it to fire every other time it resumes. Is there such an event for that?
Thanks
Upvotes: 0
Views: 86
Reputation: 1007296
No, sorry. There is onRestart()
, which behaves as you want, but as a replacement for onStart()
, not onResume()
. The difference between onStart()
and onResume()
may not be important for your situation, though, in which case you could consider onRestart()
.
Upvotes: 1