DrBrad
DrBrad

Reputation: 358

creating multiple instances of the same activity

So I've been looking everywhere to try to allow my app to have a new instance of an activity whenever I want "onCreate" but I haven't found much to help me. I understand that you can use launchMode="singleTop" so you can force everything to be a newIntent rather than onCreate. I tried using taskAffinity but it only allows all of the activities of your app to show in recent, whereas I'm trying to allow 1 activity to be opened multiple times. I believe chrome did this at one point. Everything helps, comment if you didn't understand.

enter image description here

Upvotes: 0

Views: 447

Answers (0)

Related Questions