com.mottimotti.android.utils
Class SwipeDismissListener

java.lang.Object
  extended by com.mottimotti.android.utils.SwipeDismissListener
All Implemented Interfaces:
android.view.View.OnTouchListener

public class SwipeDismissListener
extends Object
implements android.view.View.OnTouchListener


Nested Class Summary
static interface SwipeDismissListener.OnDismissCallback
           
 
Constructor Summary
SwipeDismissListener(android.widget.ListView listView, SwipeDismissListener.OnDismissCallback callback)
           
 
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
 

Constructor Detail

SwipeDismissListener

public SwipeDismissListener(android.widget.ListView listView,
                            SwipeDismissListener.OnDismissCallback callback)
Method Detail

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.