Skip to content

mukkumukesh/android-swipe-to-dismiss

Repository files navigation

swipe-to-dismiss-view

This is simple code to swipe view to dismiss like android notification drawer view. You can use this listener in a simple way like

  1. Create object of that class ex. SwipeToDismissView view1 = new SwipeToDismissView(this);
  2. view1.init(parent_view_id, child_view_id);
  3. Implement callback method and perform your own work when view is dismiss or canceled.