You don't need ArrayListObservable for one/zero items.
SECTION can bind to anything, an Observable<Object> to a single
String, although I have no idea what VM you have, but if you need to
handle zero/one items, you may do in this way:
1. the SECTION binds to @layout/zero_one_item
2. in zero_one_item.xml,
<LinearLayout visible="IsNotZero">...
3. in the Vm of that single item, have IsNotZero (booleanObservable)
Andy
> --
> You received this message because you are subscribed to the Google Groups
> "AndroidBinding" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
androidbindin...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>