0ceb8d53e39ebb5bc103863787afb39ec5c41ad8 |
|
18-Mar-2017 |
Maurice Lam <yukl@google.com> |
Add ability to require scroll to GlifLayout Generalize RequireScrollHelper and turn it into a mixin to allow GlifLayout to use require scrolling. This is only applicable to GLIF with sticky footer, since inline content button requires scrolling by definition. Also added Robolectric test support for full-support, by moving full-support/test's contents into full-support/test/instrumentation and put the new Robolectric tests in full-support/test/robotest. Bug: 36387078 Test: ./gradlew connectedAndroidTest test Change-Id: Ib07ec0ddf07affa30c46e786f4e9be7853a243c4
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/GlifRecyclerLayout.java
|
9ac3d54040b4dae6addc224fd8a69bf62ee84a83 |
|
06-Mar-2017 |
Maurice Lam <yukl@google.com> |
Fix warnings in SuwLib Fix various issues flagged by compiler and ErrorProne, including raw types, unchecked casts, missing overrides and others. Test: Existing tests pass. `./gradlew connectedAndroidTest test` Change-Id: I4008504430760b436d6dc6c52a9dfb169dcfa49b
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/GlifRecyclerLayout.java
|
03b52ec3584d8f5fd25d73bd933226a150b85642 |
|
26-Jan-2017 |
Maurice Lam <yukl@google.com> |
Add RecyclerMixin Add a Mixin as a common interface for TemplateLayouts with recycler views. Test: ./gradlew connectedAndroidTest Change-Id: I1d06dbd861307fa6f549e8a5d34bb174da419ffb
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/GlifRecyclerLayout.java
|
7514f1cee29b3feb4822ce16945c1c312057d24f |
|
19-Dec-2016 |
Maurice Lam <yukl@google.com> |
Implement Mixins for Templates Implement Mixin functionalities, which defines part of a template layout, making it reusable in different layouts. For example, the HeaderMixin allows setting and getting the header text via the mixin, which allows for clients which uses multiple different layuots to simplify their code via something like layout.getMixin(HeaderMixin.class).setText("Foobar"); Bug: 34163318 Test: ./gradlew connectedAndroidTest Change-Id: I4348c8bb5b8e640b49c2be0c79c70aa85cf0ebc0
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/GlifRecyclerLayout.java
|
325b78cfbd0d7366771ee81838bc444c69e39963 |
|
05-May-2016 |
Maurice Lam <yukl@google.com> |
[SuwLib] Allow extending DividerItemDecoration Allow subclasses to extend DividerItemDecoration to control whether dividers are allowed at a specific location. Bug: 28445348 Change-Id: I7e61574048dc4df18a0a31fef277a5cc7f5395ec
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/GlifRecyclerLayout.java
|
84979a6b2874d09762404c3c8a902f4aad016d01 |
|
26-Apr-2016 |
Maurice Lam <yukl@google.com> |
[SuwLib] Support GLIF preference Bug: 26427729 Change-Id: Ie95b0031bacef316ccff9bc9f1a4b048016a9353
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/GlifRecyclerLayout.java
|
15391fc05a0fc45e9af85b653abffa41df575e91 |
|
06-Feb-2016 |
Maurice Lam <yukl@google.com> |
[SuwLib] Add divider insets Allow SetupWizardListLayout and SetupWizardRecyclerLayout to have divider insets. Change-Id: I879469b15692e86d24336b13a8ee9d1a796bb036
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/GlifRecyclerLayout.java
|
2286e48a268aaa0dc57b93b878c3a632c627acec |
|
30-Jan-2016 |
Udam Saini <udam@google.com> |
Adds a stable ids attribute for recycler views bug:26877107 Change-Id: Ia1eb9646f887a6e0b61613997558d08da85d057b
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/GlifRecyclerLayout.java
|
5a4d6cdfb63240c41527ba80b7baddba8933d770 |
|
04-Dec-2015 |
Maurice Lam <yukl@google.com> |
[SuwLib] GLIF layout adjustment for headers - Store the list item directly in the view holder and update in onBindViewHolder, so that the click handler is not prone to adapter position changes. - Glif[List/Recycler]Layout now returns the wrapped adapter when getAdapter is called. - Disable dividers for header views Change-Id: Ie782a4de06e2296d4996cb8b81b5d7d3fc834ccf
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/GlifRecyclerLayout.java
|
180360409c9e4e9163c670ff48663244b4057eaf |
|
14-Nov-2015 |
Maurice Lam <yukl@google.com> |
[SuwLib] Add dividers to GLIF list layouts Add dividers with inset support to GLIF list and recycler layouts. Typical usage of this will be by specifying app:suwDividerInset to either @dimen/suw_items_text_divider_inset or @dimen/suw_items_icon_divider_inset (the default). Bug: 25726515 Change-Id: I8f569680d71d1baba093b20f3d48570d53383acb
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/GlifRecyclerLayout.java
|
b01f3ef075d501d1f61e6f61794a5cadd3ff2026 |
|
21-Nov-2015 |
Maurice Lam <yukl@google.com> |
[SuwLib] Implement GlifRecyclerLayout Bug: 25726515 Change-Id: Ibb60af51928bb5fc828761c55430cc8d31fe5c98
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/GlifRecyclerLayout.java
|