// Path: library/src/main/java/com/github/nukc/stateview/AnimatorProvider.java
// public interface AnimatorProvider {
// 
//     Animator showAnimation(View view);
// 
//     Animator hideAnimation(View view);
// }


import android.animation.Animator;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.view.View;
import com.github.nukc.stateview.AnimatorProvider;
package com.github.nukc.stateview.animations;



/**
 * @author Nukc.
 */

public class FadeScaleAnimatorProvider implements AnimatorProvider {

    @Override
    public Animator showAnimation(View view) {
        AnimatorSet set = new AnimatorSet();
        set.playTogether(
                ObjectAnimator.ofFloat(view, "alpha", 0f, 1f),
                ObjectAnimator.ofFloat(view, "scaleX", 0.1f, 1f),
                ObjectAnimator.ofFloat(view, "scaleY", 0.1f, 1f)
        );
        return set;
    }

// Path: library/src/main/java/com/github/nukc/stateview/AnimatorProvider.java
// public interface AnimatorProvider {
// 
//     Animator showAnimation(View view);
// 
//     Animator hideAnimation(View view);
// }


// Path: animations/src/main/java/com/github/nukc/stateview/animations/FadeScaleAnimatorProvider.java
import android.animation.Animator;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.view.View;
import com.github.nukc.stateview.AnimatorProvider;

package com.github.nukc.stateview.animations;



/**
 * @author Nukc.
 */

public class FadeScaleAnimatorProvider implements AnimatorProvider {

    @Override
    public Animator showAnimation(View view) {
        AnimatorSet set = new AnimatorSet();
        set.playTogether(
                ObjectAnimator.ofFloat(view, "alpha", 0f, 1f),
                ObjectAnimator.ofFloat(view, "scaleX", 0.1f, 1f),
                ObjectAnimator.ofFloat(view, "scaleY", 0.1f, 1f)
        );
        return set;
    }

    @Override