0

Is it possible to have animation when switching between activities which were already started as "singleInstance" before?

Cause when using the transitions, it is animating only on fresh start and finish.

EDIT: Ok, seems like it's not possible. Wasted my time on this. There's another question concerting this and he gave up as well: Android’s overridePendingTransition and singleInstance

Community
  • 1
  • 1
Arny
  • 432
  • 4
  • 15

1 Answers1

1

You should try overridePendingTransition()

Hope this helps you.

Community
  • 1
  • 1
Mayank Bhatnagar
  • 2,120
  • 1
  • 12
  • 20
  • I did. This is doing the animations only on fresh start and finish. – Arny Jan 18 '17 at 15:52
  • You can use "singleTop" then. I think because "singleInstance" is on its own process, the animation is basically forced to be like a switching application animation. – Mayank Bhatnagar Jan 18 '17 at 15:55
  • With singleTop it is finishing the instance. I need the instance to be persistent as long as possible and therefore I'm using singleInstance. – Arny Jan 18 '17 at 16:51