Join Slack
Powered by
what is the kotlin translation of : intent.addFlag...
# getting-started
j
Jeremy Rempel
02/23/2018, 5:23 PM
what is the kotlin translation of : intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP)
j
johnsinguay
02/24/2018, 4:10 AM
If you're going to a new activity and with
#anko
enabled, you can startActivity(intentFor<NextActivity>().clearTask().clearTop())
2
Views
Open in Slack
Previous
Next