Java Code Examples for android.support.v4.view.NestedScrollingChildHelper#setNestedScrollingEnabled()

The following examples show how to use android.support.v4.view.NestedScrollingChildHelper#setNestedScrollingEnabled() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: WXScrollView.java    From ucar-weex-core with Apache License 2.0 5 votes vote down vote up
private void init() {
  setWillNotDraw(false);
  startScrollerTask();
  setOverScrollMode(View.OVER_SCROLL_NEVER);
  childHelper = new NestedScrollingChildHelper(this);
  childHelper.setNestedScrollingEnabled(true);
}
 
Example 2
Source File: WXScrollView.java    From weex-uikit with MIT License 5 votes vote down vote up
private void init() {
  setWillNotDraw(false);
  startScrollerTask();
  setOverScrollMode(View.OVER_SCROLL_NEVER);
  childHelper = new NestedScrollingChildHelper(this);
  childHelper.setNestedScrollingEnabled(true);
}
 
Example 3
Source File: WXScrollView.java    From weex with Apache License 2.0 5 votes vote down vote up
private void init() {
  setWillNotDraw(false);
  startScrollerTask();
  setOverScrollMode(View.OVER_SCROLL_NEVER);
  childHelper = new NestedScrollingChildHelper(this);
  childHelper.setNestedScrollingEnabled(true);
}
 
Example 4
Source File: ShareScrollView.java    From SHSwipeRefreshLayout with MIT License 4 votes vote down vote up
private void init() {
    setWillNotDraw(false);
    childHelper = new NestedScrollingChildHelper(this);
    childHelper.setNestedScrollingEnabled(true);
}
 
Example 5
Source File: SHListView.java    From SHSwipeRefreshLayout with MIT License 4 votes vote down vote up
private void init() {
    setWillNotDraw(false);
    childHelper = new NestedScrollingChildHelper(this);
    childHelper.setNestedScrollingEnabled(true);
}
 
Example 6
Source File: MyImageView.java    From AndroidUI with MIT License 4 votes vote down vote up
void init()
{
    nestedScrollingChildHelper = new NestedScrollingChildHelper(this);
    nestedScrollingChildHelper.setNestedScrollingEnabled(true);
}