2

I am working on a feature that uses the SharedElement transition. In my application, I use the following flag FLAG_ACTIVITY_REORDER_TO_FRONT to reuse an existing instance of an activity.

Example -: I traverse from Activity A->B->C->D then I want to open Activity B. The resultant stack will be A->C->D->B

Issue -: When using the above mechanism in terms of the shared element transition animation the animation does not seem to work.

It does work when I create a new instance of Activity B, but then there are dual instances of Activity B in the Activity Stack. Which I do not want.

I also require other activity instances that are in the backstack so clearing the stack won't be helpful.

I have visited the following posts related to this issue, none of them seem to have an answer to this issue.

It would be really helpful if anyone could give me directions in going ahead with this issue.

Community
  • 1
  • 1
Kailash Chivhe
  • 243
  • 3
  • 7

0 Answers0