I had such ListView
<ListView [items]="groceryList" row="1" class="small-spacing" [class.visible]="listLoaded">
<template let-item="item" columns="*, auto" >
<Label [text]="item.name" class="medium-spacing"></Label>
</template>
</ListView>
I want to add image button. So I just added columns="*, auto" to template and
col="0" to Label and col="1" to my Image
<ListView [items]="groceryList" row="1" class="small-spacing" [class.visible]="listLoaded">
<template let-item="item" columns="*, auto" >
<Label [text]="item.name" class="medium-spacing" col="0"></Label>
<Image src="res://delete" (tap)="delete(item.id)" col="1"></Image>
</template>
</ListView>
After running an emulator I am getting an error:
Any thoughts why is that happening and how to fix that?

StackLayoutorGridLayoutfor main container inside theListViewtemplate and inside theLayoutto add theImageand theLabel. For example<StackLayout><Label [text]="item.name" class="medium-spacing" ></Label> <Image src="res://delete" (tap)="delete(item.id)"></Image></StackLayout>- Nikolay Tsonevtemplate? - sreginogemohtemplate, you should add the Layout inside of it - Nikolay Tsonev