Example usage for android.view View.OnTouchListener interface-usage

List of usage examples for android.view View.OnTouchListener interface-usage

Introduction

In this page you can find the example usage for android.view View.OnTouchListener interface-usage.

Usage

From source file com.flexible.viewholders.FlexibleViewHolder.java

/**
 * Helper Class that implements:
 * <br/>- Single tap
 * <br/>- Long tap
 * <br/>- Touch for Drag and Swipe.
 * <p>You must extend and implement this class for the own ViewHolder.</p>

From source file com.github.shareme.gwsswwipetodismiss.library.SwipeDismissListViewTouchListener.java

/**
 * A {@link View.OnTouchListener} that makes the list items in a {@link ListView}
 * dismissable. {@link ListView} is given special treatment because by default it handles touches
 * for its list items... i.e. it's in charge of drawing the pressed state (the list selector),
 * handling list item clicks, etc.
 *

From source file com.malinskiy.superrecyclerview.SwipeDismissRecyclerViewTouchListener.java

public class SwipeDismissRecyclerViewTouchListener implements View.OnTouchListener {
    public static final int INVALID_POSITION = -1;

    // Cached ViewConfiguration and system-wide constant values
    private int mSlop;
    private int mMinFlingVelocity;

From source file com.itude.mobile.mobbl.blueprint.app.view.listeners.SwipeDismissRecyclerViewTouchListener.java

public class SwipeDismissRecyclerViewTouchListener implements View.OnTouchListener {
    // Cached ViewConfiguration and system-wide constant values
    private int mSlop;
    private int mMinFlingVelocity;
    private int mMaxFlingVelocity;
    private long mAnimationTime;

From source file com.ht117.dina.activities.SearchActivity.java

public class SearchActivity extends BaseThemedActivity
        implements SearchView.OnQueryTextListener, View.OnTouchListener {

    private final Executor mSearchExecutor = Executors.newSingleThreadExecutor();
    @Nullable
    private AsyncTask mSearchTask = null;

From source file cn.meiqu.baseproject.view.superrecyclerview.swipe.SwipeDismissRecyclerViewTouchListener.java

public class SwipeDismissRecyclerViewTouchListener implements View.OnTouchListener {
    public static final int INVALID_POSITION = -1;

    // Cached ViewConfiguration and system-wide constant values
    private int mSlop;
    private int mMinFlingVelocity;

From source file alexander.martinz.libs.materialpreferences.MaterialPreference.java

public class MaterialPreference extends LinearLayout implements View.OnClickListener, View.OnTouchListener {
    private boolean mInit;

    protected View mView;
    protected CardView mCardView;
    protected MaterialPreferenceChangeListener mListener;

From source file com.brucetoo.materilanewsapp.widget.superrecyclerview.swipe.SwipeDismissRecyclerViewTouchListener.java

public class SwipeDismissRecyclerViewTouchListener implements View.OnTouchListener {
    public static final int INVALID_POSITION = -1;

    // Cached ViewConfiguration and system-wide constant values
    private int mSlop;
    private int mMinFlingVelocity;

From source file io.syng.fragment.WebViewFragment.java

public class WebViewFragment extends Fragment implements View.OnTouchListener, GestureDetector.OnGestureListener {

    private static final String DEFAULT_DAPP = "dapp://syng.io/dapps/wallet";

    protected CordovaWebView webView;
    protected CordovaInterfaceImpl cordovaInterface;

From source file com.marshalchen.common.uimodule.superlistview.SwipeDismissListViewTouchListener.java

/**
 * A {@link android.view.View.OnTouchListener} that makes the list items in a {@link android.widget.ListView}
 * dismissable. {@link android.widget.ListView} is given special treatment because by default it handles touches
 * for its list items... i.e. it's in charge of drawing the pressed state (the list selector),
 * handling list item clicks, etc.
 *