package com.txt.video.widget.adapter.base.animation;

import android.animation.Animator;
import android.animation.ObjectAnimator;
import android.view.View;



/**
 * https://github.com/CymChad/BaseRecyclerViewAdapterHelper
 */
public class SlideInRightAnimation implements BaseAnimation {
    @Override
    public Animator[] getAnimators(View view) {
        return new Animator[]{
                ObjectAnimator.ofFloat(view, "translationX", view.getRootView().getWidth(), 0)
        };
    }
}

{'avg_line_length': 24.8, 'max_line_length': 94, 'alphanum_fraction': 0.717741935483871, 'licenses': ['Apache-2.0'], 'repository_name': 'tx-tech/tx-sdk', 'path': 'video/src/main/java/com/txt/video/widget/adapter/base/animation/SlideInRightAnimation.java', 'size': 496, 'lang': 'Java'}