Cherrypick from mnc-docs docs: Fixed bad links in LinearLayoutManager
Original Change-Id: Ie4bef05857a2a29fd4f5409b33eff04c2a7eaf84
(Cherrypicking per JF's instructions to get this into the live docs.)
One bad link was a link to a non-public field (which turns into
a bad link in the public Javadocs); the other was just a badly-coded
link.
Also slightly improved the @returns doc for getOrientation().
See first comment for doc stage location.
bug: 23689635
Change-Id: I2973d1cb3a6f723f2b1a8c8d811cb2775e3c1843
diff --git a/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java b/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
index f842ed5..632b05c 100644
--- a/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
+++ b/v7/recyclerview/src/android/support/v7/widget/LinearLayoutManager.java
@@ -304,8 +304,7 @@
/**
* Returns the current orientaion of the layout.
*
- * @return Current orientation.
- * @see #mOrientation
+ * @return Current orientation, either {@link #HORIZONTAL} or {@link #VERTICAL}
* @see #setOrientation(int)
*/
public int getOrientation() {
@@ -349,7 +348,7 @@
* Returns if views are laid out from the opposite direction of the layout.
*
* @return If layout is reversed or not.
- * @see {@link #setReverseLayout(boolean)}
+ * @see #setReverseLayout(boolean)
*/
public boolean getReverseLayout() {
return mReverseLayout;