summaryrefslogtreecommitdiff
path: root/android/support/v7/widget/OrientationHelper.java
diff options
context:
space:
mode:
Diffstat (limited to 'android/support/v7/widget/OrientationHelper.java')
-rw-r--r--android/support/v7/widget/OrientationHelper.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/android/support/v7/widget/OrientationHelper.java b/android/support/v7/widget/OrientationHelper.java
index 5e90f2e7..99bcbaa0 100644
--- a/android/support/v7/widget/OrientationHelper.java
+++ b/android/support/v7/widget/OrientationHelper.java
@@ -48,6 +48,14 @@ public abstract class OrientationHelper {
}
/**
+ * Returns the {@link android.support.v7.widget.RecyclerView.LayoutManager LayoutManager} that
+ * is associated with this OrientationHelper.
+ */
+ public RecyclerView.LayoutManager getLayoutManager() {
+ return mLayoutManager;
+ }
+
+ /**
* Call this method after onLayout method is complete if state is NOT pre-layout.
* This method records information like layout bounds that might be useful in the next layout
* calculations.
@@ -435,4 +443,4 @@ public abstract class OrientationHelper {
}
};
}
-} \ No newline at end of file
+}