c64c94744da6d3d139c24be7dd62cbb3ceae0eb5 |
|
06-Jan-2017 |
Maurice Lam <yukl@google.com> |
Refactor GenericInflater Split GenericInflater into SimpleInflater, which wraps the XML parsing into finding the tag name and an AttributeSet. The subclass is responsible for creating the corresponding object for the given tag name and AttributeSet. ReflectionInflater is a subclass of SimpleInflater which will treat the tag name as a class, and create the object via reflection using the 2-argument constructor TagName(Context, AttributeSet). Test: ./gradlew connectedAndroidTest Change-Id: I81408f099f132b7bedb27a9b5425e3c18988aa52
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ItemInflater.java
|
de9f081976b6121f93b6debca4554226c125e12f |
|
08-Apr-2016 |
Maurice Lam <yukl@google.com> |
[SuwLib] Fix override annotations Add @Override annotations where there should be Change-Id: I57e33c9367bbc716c120b410ce96b43b4d0f8bbb
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ItemInflater.java
|
00358e4d12e6c7ba0f1da1fa9ad57f87da9b3b1a |
|
25-Mar-2016 |
Maurice Lam <yukl@google.com> |
[SuwLib] Implement ButtonBarItem Implement ButtonBarItem which can contain one or more buttons to be displayed in a horizontal row. Bug: 27600894 Change-Id: Id3879ee8fc0bd09c04bc8d98a0bbd301d1b410b8
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ItemInflater.java
|
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/ItemInflater.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/ItemInflater.java
|