Can't get objectAnimator working with xFraction

后端 未结 3 1459
慢半拍i
慢半拍i 2020-12-21 16:24

I\'m trying to animate a slide-in/slide-out animation between Fragments. I know there\'re tons of similiar question out there on StackOverflow<

3条回答
  •  遥遥无期
    2020-12-21 16:59

    setXFraction and getXFraction should be defined in the root view: the view you return from onCreateView, in your case custom CardView

提交回复
热议问题