Higher level “ListView”, using extensions!
Update on 2017.12.30 (Version 4):
- Adapted to all platforms (ai2.appinventor.mit.edu , thunkable , etc.) There should not more NoSuchMethodError at anywhere.
Update on 2017.12.29 (version 3):
- Adapted to new Appinventor (since 2017.12.27, Companion 2.45) (Fixed NoSuchMethodError)
- Added properties related to image loading - AsyncImageLoad & CacheImage (that in a same path)
- Added property - ScrollBottomAfterAdd
How to use
Left a VerticalArrangement or a VerticalScrollArrangement, set the width and the height as you like
Before do anything like add a element, initialize it first:
Choose only one of the initialize method
Set the list
The “set” method required a list, and the list elements can be:
Single text element without icon:
The list element here is just a Text, and it will be shown in the element
Single text element without icon(same with the one above):
A sub-list with only one item is also allowed when creating a Single text element without icon.
Single text element with icon:
The sub-list with two item will be proceed as a Single text element with icon.
The first item is the icon path, when the second one is the text here.
Double text element with icon:
A list with at least three item, is being recognize as a Double text elemtnt with icon.
And only the very first three items will be used as the parameters here.
They are: icon(path), Main-text, and Sub-text
The three types of list element can exist when a ColinTreeListView is created
Explanation of properties, events and methods & Download
See my website