Upload
mima-yuki
View
3.602
Download
2
Embed Size (px)
Citation preview
To learn Interpolator you can implements excellent Animation
@amyu_san
potatotips #21
About me
• Name : Yuki Mima
• Twitter : @amyu_san
• Work : Android App Engineer
Which is better?
BounceInterpolator
CustomInterpolator
BounceInterpolator
CustomInterpolator
About Interpolator graph
CustomInterpolator
How to make
Use “Grapher”
Generate code
Next Step
→ →
↓
←←
How to implements??• AnimatorListenerをAnimatorにセットし、
onAnimationEnd時に次のAnimatorをStartさせる
• 次のAnimatorのstartDelayを前のAnimatorのDuration分セットする
などをしてAnimatorをセットし、前のAnimatorが終わったあとにStartさせるというのが定石
この幅をInterpolatorを使って表現する
単体で使うのではなく 補助要員としても使える!!!
あぁ、素晴らしきかな Interpolator