hi
In radListview i enable swipe feature and implement ItemSwipeContentTemplate and add button to it.
When i swipe item app crashes, if i use Label it is not crashing. I am binding data template even in page xaml it crashes. my button is without image just text.
Is there any work arround to have Xamarin.Button with image and text on it ?
p.s. If i have button with image only it works, but output window error is there, but app is not crashing
Output window:
[0:] FileImageSourceHandler: Could not find image or image file was invalid: File:
An unhandled exception occured.
Code
01.
<
DataTemplate
x:Key
=
"CommonItemSwipeTemplate"
>
02.
<
Grid
Margin
=
"0"
03.
Padding
=
"0"
04.
ColumnSpacing
=
"0"
05.
RowSpacing
=
"0"
>
06.
<
Grid.ColumnDefinitions
>
07.
<
ColumnDefinition
Width
=
"*"
/>
08.
<
ColumnDefinition
Width
=
"70"
/>
09.
</
Grid.ColumnDefinitions
>
10.
11.
<
Button
Grid.Column
=
"1"
12.
BackgroundColor
=
"Red"
13.
HorizontalTextAlignment
=
"Center"
14.
Text
=
"delete"
15.
TextColor
=
"White"
16.
VerticalTextAlignment
=
"Center"
17.
WidthRequest
=
"70"
/>
21.
</
Grid
>
22.
</
DataTemplate
>