'How to bind an imageSource from a List of Image items in .NET MAUI

I'm developing an app that will soon have a server/DB. I want toaccomplish the binding between the List images and the xaml. Any idea of how to proceed?

 public class Profile : INotifyPropertyChanged
{
    /** --------------------------------------------------------------------
    *                           Properties
    *  --------------------------------------------------------------------
    */
    List<Image> images;
    public List<Image> Images
    {
        get { return images; }
        set { images = value; OnPropertyChanged(nameof(Images)); }
    }
public Profile()
    {
        Images.Add(new Image());
        Images.Add(new Image());
    }


...



<ImageButton Source="{Binding Profile.Images[0].Source}" Aspect="AspectFill" HeightRequest="630"></ImageButton>


    


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source