Fill the slots with data
Create the layout and a Slots
instance, wire the slots, and return both.
Create the layout and a Slots
instance, wire the slots, and return both. Example:
val slots = new Slots val view = w[TextView] <~ wire(slots.textView) (view, slots)
Add extra fillView function
Add extra fillView function
Convert to partial listable based on a condition
Convert to partial listable based on a condition
Map the underlying data type A
Map the underlying data type A
Fill the layout with data.
Fill the layout with data. Will be always called with layouts created by makeView
using viewType(data)
An adapter to use with a ListView
An adapter to use with a ListView
A tweak to set the adapter of a ListView
A tweak to set the adapter of a ListView
Create the layout
Create the layout
Convert to partial listable defined for a subset of a supertype
Convert to partial listable defined for a subset of a supertype
Convert to partial listable for composition with alternatives
Convert to partial listable for composition with alternatives
Convert to a viewable
Convert to a viewable
Layout type for a specific value
Layout type for a specific value
Supported number of different layout types
Supported number of different layout types
A
Listable
that works by saving widget slots inside the layout's tag and filling them later