/**
* Creates a new instance of BasicFragmentTransition with the specified animations and name.
*
* @param inAnim A resource id of the animation for an incoming fragment.
* @param outAnim A resource id of the animation for an outgoing fragment to be added to the
* back stack or to be destroyed and replaced by the incoming one.
* @param inBackAnim A resource id of the animation for an incoming fragment to be showed from
* the back stack.
* @param outBackAnim A resource id of the animation for an outgoing fragment to be destroyed and
* replaced by the incoming one.
* @param name Name for the new transition.
*/
public BasicFragmentTransition(@AnimatorRes final int inAnim, @AnimatorRes final int outAnim, @AnimatorRes final int inBackAnim, @AnimatorRes final int outBackAnim, @NonNull final String name) {
this.mInAnimRes = inAnim;
this.mOutAnimRes = outAnim;
this.mInBackAnimRes = inBackAnim;
this.mOutBackAnimRes = outBackAnim;
this.mName = name;
}
BasicFragmentTransition.java 文件源码
java
阅读 29
收藏 0
点赞 0
评论 0
项目:android_fragments
作者:
评论列表
文章目录