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

         

使用APP客户端扫描二维码运行Demo


...

kakajika

Tokyo, Japan

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

         

类似的还有....
DialogUtil common used dialog with material style ( in support v7),ios style,get top activity automatically, invoke everywhere (any thread , any window)
PlaceSearchDialog A place autocomplete search dialog which uses Google's places API for finding results.
FabDialogMorph Fab and Dialog Morphing Animation on Android
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.