I have a code and want to execute it whenever I open that page.
I know about OnAppearing() Method in Xamarin.Forms, but it doesn't work in ViewModels. I have inherited ViewModel from ContentPage, and override the OnAppearing() Method. But When I open the page, the ViewModel doesn't execute the OnAppearing Method.