0e2e979afc3e1067c2af8db4c7a3bda4f0a1842b |
|
16-Apr-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Revert "Revert "Inflate RV attr to create the layout manager."" This reverts commit 4d7dbfd2b24b8ebc49d3be5e0b5cbac76b2751ed. (cherry picked from commit 0194ed84ad6f1d3d489db52b9431fa93a7697b50)
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/recyclerview/test/CustomLayoutManager.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/recyclerview/test/CustomLayoutManager.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/recyclerview/test/CustomLayoutManager.java
|