cancel
Showing results for 
Search instead for 
Did you mean: 

Screen transition with fade vs container move+fade animation

BennyTang
Associate II

Hi,

I am working on some screen transitions. 

I need to make my "page" transitions move and fade in/out together in the process.

Below are the issues I found

=========================

For screen tranisition

=========================

I can start the screen fade animation on its own.

But if I start the screen transition together, this fade animation is not working for some reason.

==========================

For container mix-in animation

==========================

I can start both fade/move animation together with the container.

But this way all my "pages" would need to be inside a "custom container" and I will only have 1 "screen"

All my hw key event will be jammed inside my MainScreenView, and introduce a mess in code structure.

 

Both of the methods require me to start fade animation MANUALLY for each object in the "page" which is very inconvenient.

But I can't find a way to do it with a for loop using the forEachChild() function.

Since the function gets a "Drawable" object, instead of "FadeAnimator" object, thus makes it difficult to call the startFadeAnimation directly.

 

 

 

 

0 REPLIES 0