Say I want the following layout in my List View's items:
<TablePane styles = "{padding : 5, horizontalSpacing : 5, verticalSpacing : 5}" >
<columns>
<TablePane.Column width = "1*"/>
<TablePane.Column width = "21"/>
</columns>
<TablePane.Row height="-1">
<TextInput bxml:id ="txtName"
textSize="15" />
<TablePane.Filler/>
</TablePane.Row>
<TablePane.Row height="-1">
<TablePane.Filler/>
<ActivityIndicator active="true" width="16" height="16"/>
</TablePane.Row>
</TablePane>
And say I have the following custom ItemRenderer:
public class CustomListRenderer extends TablePane
implements ListView.ItemRenderer {
// stuff here
}
What is the best way to use the BXML snippet above with my custom ListRenderer?