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

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

Introduction

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

Usage

From source file com.yixi.window.view.EventListener.java

class EventListener implements View.OnKeyListener, View.OnClickListener, View.OnLongClickListener {
    Logic mHandler;
    ViewPager mPager;

    void setHandler(Logic handler, ViewPager pager) {
        mHandler = handler;

From source file com.android.calculator2mod.EventListener.java

public class EventListener implements View.OnKeyListener, View.OnClickListener, View.OnLongClickListener {
    private Logic mHandler;
    private ViewPager mPager;

    public void setHandler(Logic handler, ViewPager pager) {
        mHandler = handler;

From source file com.philliphsu.bottomsheetpickers.time.grid.TwentyFourHoursGrid.java

public class TwentyFourHoursGrid extends NumbersGrid implements View.OnLongClickListener {
    private static final String TAG = "TwentyFourHoursGrid";

    private int mSecondaryTextColor;

    public TwentyFourHoursGrid(Context context) {

From source file tinkercoder.stockcalculator.calculator.EventListener.java

class EventListener implements View.OnKeyListener, View.OnClickListener, View.OnLongClickListener {
    Logic mHandler;
    ViewPager mPager;
    DrawerActivity drawer = new DrawerActivity();

    void setHandler(Logic handler, ViewPager pager) {

From source file com.yanzhenjie.album.app.gallery.PreviewAdapter.java

/**
 * <p>Adapter of preview the big picture.</p>
 * Created by Yan Zhenjie on 2016/10/19.
 */
public abstract class PreviewAdapter<T> extends PagerAdapter
        implements PhotoViewAttacher.OnViewTapListener, View.OnLongClickListener {

From source file lk.vega.centerconsole.MainActivity.java

public class MainActivity extends FragmentActivity implements View.OnClickListener, View.OnLongClickListener {
    private List<AppInfo> res;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

From source file com.google.android.gcm.demo.ui.AbstractFragment.java

/**
 * This is the base class for all the fragments used by the {@link MainActivity}.
 * This class provides useful methods for performing UI operations such as creating expandable text,
 * handling long clicks by copying the content of a view to clipboard and handling text that is
 * too long to be displayed.
 */

From source file co.lmejia.iglesia.AssistanceListActivity.java

public class AssistanceListActivity extends ActionBarActivity
        implements View.OnClickListener, View.OnLongClickListener, RecyclerView.OnItemTouchListener {

    public static final String TAG = AssistanceListActivity.class.getSimpleName();
    private static final int ASSISTANCE_REQUEST_CODE = 1;

From source file android.support.v7.widget.TooltipCompatHandler.java

/**
 * Event handler used used to emulate the behavior of {@link View#setTooltipText(CharSequence)}
 * prior to API level 26.
 *
 * @hide
 */

From source file com.commonsware.cwac.crossport.v7.widget.TooltipCompatHandler.java

/**
 * Event handler used used to emulate the behavior of {@link View#setTooltipText(CharSequence)}
 * prior to API level 26.
 *
 * @hide
 */