public CharacterDetails()
 {
     InitializeComponent();
     BindingContext = CharacterViewModel.GetInstance();
 }
        public MainPage()
        {
            InitializeComponent();

            BindingContext = CharacterViewModel.GetInstance();
        }