History log of /frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/test/RecyclerViewTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ec494eb6490aae36981351d80c778031efcf2ebe 04-May-2015 Yigit Boyar <yboyar@google.com> Make constructor accessible before calling

ART fixed newInstance method's accessibility checks which means if
provided class/method is not accessible; RecyclerView will crash.

This CL makes RecyclerView call setAccessible(true) before calling
the constructor to avoid any issues after new ART is released.

Bug: 20824258
Change-Id: Iea114b8265720f99d95a1486d692e7e787746f8b
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/test/RecyclerViewTest.java
0194ed84ad6f1d3d489db52b9431fa93a7697b50 16-Apr-2015 Deepanshu Gupta <deepanshu@google.com> Revert "Revert "Inflate RV attr to create the layout manager.""

This reverts commit 4d7dbfd2b24b8ebc49d3be5e0b5cbac76b2751ed.
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/test/RecyclerViewTest.java
4d7dbfd2b24b8ebc49d3be5e0b5cbac76b2751ed 14-Apr-2015 Yigit Boyar <yboyar@google.com> Revert "Inflate RV attr to create the layout manager."

This reverts commit 044b5b61e962367ccfc80250676eb98c86910877.
All dependent projects has to be changed to include RV resources before this can be merged.

Change-Id: I3d0af4345f9d838cc53d7ce34d81280cc7499760
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/test/RecyclerViewTest.java
044b5b61e962367ccfc80250676eb98c86910877 26-Mar-2015 Deepanshu Gupta <deepanshu@google.com> Inflate RV attr to create the layout manager.

Make RecyclerView more toolable. Add a custom attribute (layoutManager)
which accepts the class name of the LayoutManager to be used. The
LayoutManager specified should have a default constructor or a
constructor with the signature: (android.content.Context,
android.util.AttributeSet, int, int).

Example usage:
<android.support.v7.widget.RecyclerView
android:layout_width="match_parent"
android:layout_height="match_parent"
res_auto:layoutManager="LinearLayoutManager"/>

<android.support.v7.widget.RecyclerView
android:layout_width="match_parent"
android:layout_height="match_parent"
res_auto:layoutManager=".CustomLayoutManager"/>

(res_auto is is the namespace prefix for
http://schemas.android.com/apk/res-auto)

Bug: 19780401
Change-Id: I46b26fce28c5b79b3a1e4321cf5c1e54ad089a5e
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/test/RecyclerViewTest.java