History log of /frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/GenericInflater.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
960c0ea0b1d36904beef0f01715dd43a211e88ca 09-Oct-2015 Maurice Lam <yukl@google.com> [SuwLib] Add nested items support

Add nested items support to items framework, which allows ItemGroups
to be placed inside another ItemGroup. Handling of children elements
are at discretion of the parent, but for the case of ItemGroup it
will provide a flattened view of the items.

Change-Id: I17bfd8ee276bf47d388873e68e67324c755425b3
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/GenericInflater.java
5bf291fde3dfd64f264d525534730514a279c8fc 06-Oct-2015 Maurice Lam <yukl@google.com> [SuwLib] Implement Items framework

Items framework is a framework modeled after preferences, which uses
XML to inflate a collection of items. Instead of using activity or
fragment directly like preferences, a ListAdapter is created and you
can use that with any existing ListViews.

SetupWizardItemsLayout is a convenient wrapper around
SetupWizardListLayout which will automatically inflates
android:entries in its attributes to populate the list.

Note: A recycler view adapter is under consideration

Change-Id: I5eb8853c160cf86fa5b6f21a01dfa4b0030643f6
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/GenericInflater.java