DialogFragment swipeable away like Tinder UI.

Min SDK   12
Latest Commit   2016-07-28 11:42:23
License   MIT

Github   https://github.com/kakajika/SwipeAwayDialog

         

Using app client to scan QR code to run Demo


...

kakajika

Tokyo, Japan

http://www.kaji-labo.com/

         

Similarily...
FlycoDialog_Master An Android Dialog Lib simplify customization.
sweet-alert-dialog SweetAlert for Android, a beautiful and clever alert dialog
android-styled-dialogs Backport of Material dialogs with easy-to-use API based on DialogFragment
README

README.md

SwipeAwayDialog

Platform API Android Arsenal Build Status

Android DialogFragment that enables Dialog to be swiped away to dismiss.
It's extremely easy to make Tinder-like UI.

Install

dependencies {
    compile 'com.labo.kaji:swipeawaydialog:0.1.1'
}

Usage

Just extend SwipeAwayDialogFragment instead of DialogFragment.

public class ExampleDialogFragment extends SwipeAwayDialogFragment {
    // Implement DialogFragment as usual.
}

If you want to handle swiped away event, implement onSwipedAway.
You can prevent dismissing by returning true.

@Override
public boolean onSwipedAway(boolean toRight) {
    return false;
}

License

MIT License.