History log of /frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/items/RecyclerItemAdapter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5d7bea799d0a1231f16b9e975718035c786da5f3 30-Mar-2016 Maurice Lam <yukl@google.com> [SuwLib] Use framework selectableItemBackground

In RecyclerItemAdapter, use android:selectableItemBackground, only
falling back to selectableItemBackground if the former is not set.

Bug: 27942976
Change-Id: Id7dc2781b0b7b69f7e9fab180268dd4568ba79ee
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/items/RecyclerItemAdapter.java
bb8f21ea108666cc962b016a7664b5f500c63ff3 25-Mar-2016 Ajay Nadathur <ajayns@google.com> [SetupWizard] NPE on "Nexus Imprint"

Error happened because "R.attr.selectableItemBackground" didn't resolve causing NPE
inside LayerDrawable.

Testing:
--------
- Ran SUW as well as visited fingerprint screen after setup. Verified
that: 1) Ripple effect works 2) No NPE
bug:27853943
Change-Id: I882ad4ed8f04f2e243b54731adc33d2a50da53ee
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/items/RecyclerItemAdapter.java
9b4e2c4788f066d799af15e573c1dc78102fc0d0 24-Mar-2016 Ajay Nadathur <ajayns@google.com> Animation in N wifi list results in list item overlap

- Changed the background color of list items in wifi screen to solid
color.

Testing:
-------
Ran suw on nexus6. verified that I don't see list items overlapping
during animations

bug:27725362
Change-Id: I8d026b718decb549ed56815a8081ee83ad600f1f
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/items/RecyclerItemAdapter.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/items/RecyclerItemAdapter.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/items/RecyclerItemAdapter.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/items/RecyclerItemAdapter.java
694b69b132851021da8f9730870d124a092cc3c8 05-Nov-2015 Maurice Lam <yukl@google.com> [SuwLib] Guard against RecyclerView.NO_POSITION

When an item is being clicked on, but it is currently being removed
from the recycler view (i.e. already removed from adapter, but layout
has not been processed yet), ignore the click.

Change-Id: Ifd0a90b2849af81ccbdade69561f82036c10c5dd
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/items/RecyclerItemAdapter.java
a74bc1d5c6d7cb9e0f5add4c56a983cb492cb3c2 22-Oct-2015 Maurice Lam <yukl@google.com> [SuwLib] Recycler item adapter support

Implement RecyclerView item adapter for an ItemHierarchy.

Change-Id: Id7e650fafa467ca7ee3c80102efc73d4323e5b1c
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/items/RecyclerItemAdapter.java