Image control not working properly

Vijay Palave 0 Reputation points
2023-11-16T08:09:35.2033333+00:00

I have implemented the image in the collection view. In the following scenario image is not reflected.

scenario :

  1. capture image using the "Camera.MAUI.CameraView" plugin
  2. save in the app private location
  3. access captured image, it is working fine
  4. delete this captured image take another image and save it with the same name as previous deleted image.

At this time image does not show the latest captured image, it shows the old deleted image.

<CollectionView ItemsLayout="HorizontalList" ItemsSource="{Binding ImageList}">
    <CollectionView.ItemTemplate>
        <DataTemplate x:DataType="model:abc>
                  
                <Image Aspect="AspectFill" Source="{Binding OriginalPath}"/>

        </DataTemplate>
    </CollectionView.ItemTemplate>
</CollectionView>
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,898 questions
{count} votes