프로젝트
GitHub에서 보기
kakajika/SwipeAwayDialog
소개
Tinder UI처럼 스와이프하여 닫을 수 있는 DialogFragment입니다.
기타 프로젝트측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalSwipeAwayDialog
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.
관련 프로젝트 살펴보기
불러오는 중…