Android Open Source - SwipeBackLayout Swipe Back Activity Base






From Project

Back to project page SwipeBackLayout.

License

The source code is released under:

Apache License

If you think the Android project SwipeBackLayout listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package me.imid.swipebacklayout.lib.app;
/*from w ww . j  a  va 2 s  .  c  o  m*/
import me.imid.swipebacklayout.lib.SwipeBackLayout;
/**
 * @author Yrom
 */
public interface SwipeBackActivityBase {
    /**
     * @return the SwipeBackLayout associated with this activity.
     */
    public abstract SwipeBackLayout getSwipeBackLayout();

    public abstract void setSwipeBackEnable(boolean enable);

    /**
     * Scroll out contentView and finish the activity
     */
    public abstract void scrollToFinishActivity();

}




Java Source Code List

me.imid.swipebacklayout.demo.DemoActivity.java
me.imid.swipebacklayout.demo.PreferenceUtils.java
me.imid.swipebacklayout.lib.SwipeBackLayout.java
me.imid.swipebacklayout.lib.ViewDragHelper.java
me.imid.swipebacklayout.lib.app.SwipeBackActivityBase.java
me.imid.swipebacklayout.lib.app.SwipeBackActivityHelper.java
me.imid.swipebacklayout.lib.app.SwipeBackActivity.java
me.imid.swipebacklayout.lib.app.SwipeBackPreferenceActivity.java