Java Code Examples for android.support.v7.widget.OrientationHelper#createOrientationHelper()
The following examples show how to use
android.support.v7.widget.OrientationHelper#createOrientationHelper() .
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: OverFlyingLayoutManager.java From RecyclerBanner with Apache License 2.0 | 4 votes |
void ensureLayoutState() { if (mOrientationHelper == null) { mOrientationHelper = OrientationHelper.createOrientationHelper(this, mOrientation); } }
Example 2
Source File: BannerLayoutManager.java From RecyclerBanner with Apache License 2.0 | 4 votes |
void ensureLayoutState() { if (mOrientationHelper == null) { mOrientationHelper = OrientationHelper.createOrientationHelper(this, mOrientation); } }
Example 3
Source File: TopLinearLayoutManager.java From Shield with MIT License | 4 votes |
protected void init() { interceptTouchEventForTopViews = true; logger = new SCLogger().setTag("TopLinearLayoutManager"); mOrientationHelper = OrientationHelper.createOrientationHelper(this, getOrientation()); setItemPrefetchEnabled(false); }
Example 4
Source File: TopLinearLayoutManager.java From Shield with MIT License | 4 votes |
@Override public void setOrientation(int orientation) { super.setOrientation(orientation); mOrientationHelper = OrientationHelper.createOrientationHelper(this, orientation); }