com.mottimotti.android.utils
Class SwipeDismissListener
java.lang.Object
com.mottimotti.android.utils.SwipeDismissListener
- All Implemented Interfaces:
- android.view.View.OnTouchListener
public class SwipeDismissListener
- extends Object
- implements android.view.View.OnTouchListener
|
Method Summary |
android.widget.AbsListView.OnScrollListener |
makeScrollListener()
|
boolean |
onTouch(android.view.View view,
android.view.MotionEvent motionEvent)
|
void |
setEnabled(boolean enabled)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwipeDismissListener
public SwipeDismissListener(android.widget.ListView listView,
SwipeDismissListener.OnDismissCallback callback)
setEnabled
public void setEnabled(boolean enabled)
makeScrollListener
public android.widget.AbsListView.OnScrollListener makeScrollListener()
onTouch
public boolean onTouch(android.view.View view,
android.view.MotionEvent motionEvent)
- Specified by:
onTouch in interface android.view.View.OnTouchListener
Copyright © 2013 MottiMotti Norway. All Rights Reserved.