android - Animation running before Activity is visible -


i starting off animations activity created.

however, time activity visible animation has half completed.

i had in oncreate have moved in onwindowfocuschanged , start activity once know onresume has been called (i'm setting boolean in onresume)

is there anyway of knowing when activity visible? or going have set 1 second delay? (this seems extremely hacky , potentially still won't work on slower phones/tablets)

if intention display animations user, 1 way guarantee see entire animation triggering onclicklistener() whole screen, , wait them touch it?


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -