A listview with DataTemplate:
<ListView.ItemTemplate>
<Grid.ColumnDefinitions>
</Grid.ColumnDefinitions>
</DataTemplate>
</ListView.ItemTemplate>
pictures are in the album Andriod / IOS its storage path in Sqlite are binding property from a Imagesource ImageSource.FromFile. The first one navigationto to ContentPage OK but when navigationto or navogationfrom An unhandled exception occured.
foreach (var item in players)
{
if (!string.IsNullOrEmpty(item.PathImage))
{
item.imageSource = ImageSource.FromFile(item.PathImage);
}
else
{
item.imageSource = ImageSource.FromFile("Images/logoUser.jpg");
}
}
Help please, I want to make a list of the images I have in the device