android源码设计模式解析与实战 笔记 7.6节

来源:互联网 发布:淘宝卖家中心 编辑:程序博客网 时间:2024/06/16 16:08

7.6 android 源码中的策略模式实现

View . startAnimation()

->ViewGroup .drawChild()

->View .draw()

->applyLegacyAnimation()

->Animation.getTransformation()

->getTransformation()

->getInterpolation() //接口,有多个实现,

->applyTransformation()//空方法,基类实现功能




0 0