How do you clear intent that started activity?

How do you clear intent that started activity?
Answer
If you set the intent action, you can clear it with
getIntent(). setAction(“”); For example in onCreate(…) : …
 

Tìm kiếm

Back
Top