public ThemePage() { InitializeComponent(); Title = "Theme Page"; BoxView.Background = ColorPallet.GetBackground(); Task.Run(() => ColorPallet.AnimateBackground(BoxView)); }
public SearchPageXama(ObservableCollection <SavedMovie> listOfSavedMovies) { InitializeComponent(); BoxView.Background = ColorPallet.GetBackground(); Task.Run(() => ColorPallet.AnimateBackground(BoxView)); CollectionViewSearchPage.ItemsSource = listOfSavedMovies; BindingContext = this; }
public RatedMovie(SavedMovie movie) { InitializeComponent(); MovieStack.BindingContext = movie; this.movie = movie; Genres = new ObservableCollection <Genre>(movie.genres); Title = movie.title; BoxView.Background = ColorPallet.GetBackground(); Task.Run(() => ColorPallet.AnimateBackground(BoxView)); Carousel.ItemsSource = Genres; }
private void CollectionView_SelectionChanged(object sender, SelectionChangedEventArgs e) { ColorPallet.ChangeColorTheme(e.CurrentSelection.FirstOrDefault() as string); BoxView.Background = ColorPallet.GetBackground(); }
public SearchPageXama() { InitializeComponent(); BoxView.Background = ColorPallet.GetBackground(); Task.Run(() => ColorPallet.AnimateBackground(BoxView)); }
protected override void OnAppearing() { AnimationView.Animation = "Movie.json"; BoxView.Background = ColorPallet.GetBackground(); }
protected override void OnAppearing() { BoxView.Background = ColorPallet.GetBackground(); }