Start multiple instances of same activity with intent

Eduard

Active Member
Licensed User
Longtime User
I want to start multiple instances of the same activity. I should be possible with intent flags.

However. After reading the intent documentation and a question on stackoverflow and tasks and backstack document, I can't figure it out how this works in B4A. There are flags that prevent this, like FLAG_ACTIVITY_SINGLE_TOP and FLAG_ACTIVITY_NEW_TASK.

But I do not want to prevent it, I want to activate this behavior. It looks like creating a new activity instance should be the default. But is it not in B4A?
 

Eduard

Active Member
Licensed User
Longtime User
Thanks for you quick answer.

Too bad.
User needs to go back and forward through some records. Using a new activity for each record would be nice.

I'll create a stack manually. Using a list and catch the back button. It shouldn't be too difficult.
 
Upvote 0
Top