PiXeL16/RevealingSplashView

[HOW] to animate in waiting something

gorbat-o opened this issue ยท 3 comments

Hi,

How to animate until something like an API callback success ?
i cant play with daily because i don't know how many times taking the API call :/

thanks

Hi @gorbat-o
The only animation that support this at the moment is the HeartBeat animation. You can play normally and then just call. finishHeartBeatAnimation after your API callback success.
A PR is welcome to at this functionality to the rest of the animation ๐Ÿ˜‰

hey,

thanks to that, it's exactly what i want,
maybe one day i'm gonna PR ;)

see ya

You can also set the heartAttack property to true to make it stop.
๐Ÿ‘