As far as i can see the makeList method from YailList is static -
therefore it requires
a static strArray. Since I have to generate the list elements on the
fly, I don't think
i will be able to use it.
YailList yailList = YailList.makeList(strArray);
If I try to do a new YailList and than YailList.setItems I can only
get to ListPickerCheckbox.Elements - which again wants
a static yailList.
I have to come up with a solution and I'm running out of time - so for
the time being, I'll go for a Dialog.
Comments welcome :)
Bernhard
bernhard
<activity android:name="com.google.devtools.simple.runtime.components.android.ListPickerActivity" />
to your manifest, as the ListPicker has an associated ListPickerActivity that it tries to open.
Dave
Still it would be nice to be able to dynamically update the data
displayed in the ListPickerCheckbox -
If there's a way for doing that, I'd really appreciate your feedback.
Bernhard
I really appreciate that! I met with David Wolber the other day and
found out that I must
have done something wrong (still not exactly sure what but lost the
original code).
We used the onBeforePicking (?) event and it worked just like it should be.
Thanks again
Bernhard