Android Lollipop BeginDelayedTransition not always working

I have an activity that starts with several invisible views. Then I use handler.postDelayed to make all views visible again using the slide animation and the BeginDelayedTransition method. Normally, all views should move one after another. In any case, I noticed that depending on the time interval between each runnable and even depending on the device for which I am testing the application, some animations are completely skipped and the view simply appears without any transition. I think this may be due to the time it takes for beginDelayedTransition to calculate the changes in visibility, thereby creating the right animation. Does anyone have the same problem? Is there any workaround for this,except calling TranslateAnimation every time? Thanks in advance!

+4
source share

All Articles