Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

To learn Interpolator

4,165 views

Published on

About Interpolator

Published in: Engineering
  • Be the first to comment

To learn Interpolator

  1. 1. To learn Interpolator you can implements excellent Animation @amyu_san potatotips #21
  2. 2. About me • Name : Yuki Mima • Twitter : @amyu_san • Work : Android App Engineer
  3. 3. Which is better?
  4. 4. BounceInterpolator
  5. 5. CustomInterpolator
  6. 6. BounceInterpolator
  7. 7. CustomInterpolator
  8. 8. About Interpolator graph
  9. 9. CustomInterpolator
  10. 10. How to make
  11. 11. Use “Grapher”
  12. 12. Generate code
  13. 13. Next Step
  14. 14. → → ↓ ←←
  15. 15. How to implements?? • AnimatorListenerをAnimatorにセットし、 onAnimationEnd時に次のAnimatorをStartさせる • 次のAnimatorのstartDelayを前のAnimatorの Duration分セットする などをしてAnimatorをセットし、前のAnimatorが終わった あとにStartさせるというのが定石
  16. 16. この幅をInterpolatorを使って表現する
  17. 17. 単体で使うのではなく 補助要員としても使える!!!
  18. 18. あぁ、素晴らしきかな Interpolator

×