How do you know if activity is visible or not?

Alvin Le

Member
How do you know if activity is visible or not?
Answer
In your finish() method, you want to use isActivityVisible() to check if the activity is visible or not. There you can also check if the user has selected an option or not. Continue when both conditions are met.
 

Tìm kiếm

Back
Top