Is there a way to use FLAG_ACTIVITY_REORDER_TO_FRONT
to get an activity to be reordered on front only if it has the same extras ?
For example, let's say I have the current stack : A - B(e=1) - C
.
I'd like the following behaviour:
- If I launch a
B(e=2)
intent, the result stack would beA - B(e=1) - C - B(e=2)
- If I launch a
B(e=1)
intent, the result stack would beA - C - B(e=1)
Aucun commentaire:
Enregistrer un commentaire