public MoviesHomePage() { try { InitializeComponent(); ViewModel = new MoviesHomeViewModel { Navigation = Navigation }; this.BindingContext = ViewModel; CreateHorizontalScrollView(); } catch (Exception ex) { } }
public FilterPopupViewModel(MoviesHomeViewModel moviesHomeViewModel) { _moviesHomeViewModel = moviesHomeViewModel; }
public FilterPopup(MoviesHomeViewModel moviesHomeViewModel) { InitializeComponent(); BindingContext = new FilterPopupViewModel(moviesHomeViewModel); }