// Path: architect/src/main/java/architect/ViewTransitionDirection.java
// public enum ViewTransitionDirection {
//     FORWARD, BACKWARD, REPLACE
// }


import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.view.View;
import android.view.animation.AccelerateDecelerateInterpolator;
import architect.ViewTransition;
import architect.ViewTransitionDirection;
package architect.commons.transition;



/**
 * Left / right transition
 *
 * @author Lukasz Piliszczuk - lukasz.pili@gmail.com
 */
public class LateralViewTransition implements ViewTransition {

    protected Config config;

    public LateralViewTransition() {
        this(new Config().duration(300).interpolator(new AccelerateDecelerateInterpolator()));
    }

    public LateralViewTransition(Config config) {
        this.config = config;
    }

    @Override
// Path: architect/src/main/java/architect/ViewTransitionDirection.java
// public enum ViewTransitionDirection {
//     FORWARD, BACKWARD, REPLACE
// }


// Path: commons/src/main/java/architect/commons/transition/LateralViewTransition.java
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.view.View;
import android.view.animation.AccelerateDecelerateInterpolator;
import architect.ViewTransition;
import architect.ViewTransitionDirection;

package architect.commons.transition;



/**
 * Left / right transition
 *
 * @author Lukasz Piliszczuk - lukasz.pili@gmail.com
 */
public class LateralViewTransition implements ViewTransition {

    protected Config config;

    public LateralViewTransition() {
        this(new Config().duration(300).interpolator(new AccelerateDecelerateInterpolator()));
    }

    public LateralViewTransition(Config config) {
        this.config = config;
    }

    @Override
    public void transition(View enterView, View exitView, ViewTransitionDirection direction, AnimatorSet set) {