Java Code Examples for android.view.View.performLongClick()

The following are Jave code examples for showing how to use performLongClick() of the android.view.View class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: LaunchEnr   File: LauncherAppWidgetHostView.java   Source Code and License Vote up 5 votes
@Override
public boolean onLongClick(View view) {
    if (mIsScrollable) {
        DragLayer dragLayer = Launcher.getLauncher(getContext()).getDragLayer();
        dragLayer.requestDisallowInterceptTouchEvent(false);
    }
    view.performLongClick();
    return true;
}