Change position of view after end of animation

前端 未结 3 521
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-04 15:58

I develop a widget based on ViewGroup and my problem is that I need to save position of items after the end of animation. I called setFillAfter(true) i

3条回答
  •  执念已碎
    2021-02-04 16:39

    Reverse your animation; Start by giving your view a new position and then animate from the old position to the new position.

提交回复
热议问题