public static Completable leave(final View view, final int xOffset, final int yOffset) {
final float startingX = view.getX();
final float startingY = view.getY();
return animate(view, new AccelerateInterpolator())
.fadeOut()
.translateBy(xOffset, yOffset)
.onAnimationCancel(aView -> set(aView, startingX, startingY, TRANSPARENT))
.schedule(false);
}
RxAnimations.java 文件源码
java
阅读 35
收藏 0
点赞 0
评论 0
项目:Rx2Animations
作者:
评论列表
文章目录