Example usage for android.view View SCROLL_AXIS_VERTICAL

List of usage examples for android.view View SCROLL_AXIS_VERTICAL

Introduction

In this page you can find the example usage for android.view View SCROLL_AXIS_VERTICAL.

Prototype

int SCROLL_AXIS_VERTICAL

To view the source code for android.view View SCROLL_AXIS_VERTICAL.

Click Source Link

Document

Indicates scrolling along the vertical axis.

Usage

From source file:com.cryart.sabbathschool.behavior.VerticalScrollingBehavior.java

@Override
public boolean onStartNestedScroll(CoordinatorLayout coordinatorLayout, V child, View directTargetChild,
        View target, int nestedScrollAxes) {
    return (nestedScrollAxes & View.SCROLL_AXIS_VERTICAL) != 0;
}

From source file:com.amitupadhyay.aboutexample.ui.widget.BottomSheet.java

@Override
public boolean onStartNestedScroll(View child, View target, int nestedScrollAxes) {
    if ((nestedScrollAxes & View.SCROLL_AXIS_VERTICAL) != 0) {
        isNestedScrolling = true;//from w w  w .j a v  a2  s .com
        nestedScrollInitialTop = sheet.getTop();
        return true;
    }
    return false;
}

From source file:ch.tutti.android.bottomsheet.ResolverDrawerLayout.java

@Override
public boolean onStartNestedScroll(View child, View target, int nestedScrollAxes) {
    return (nestedScrollAxes & View.SCROLL_AXIS_VERTICAL) != 0;
}

From source file:com.bigbug.android.pp.ui.widget.HorizontalListView.java

public boolean startNestedScroll(int axes) {
    return mNestedScrollingChildHelper.startNestedScroll(View.SCROLL_AXIS_VERTICAL);
}