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; }
public ProfilePage() { InitializeComponent(); GoodMovies = User.GetInstance().GoodMovies; ListGoodMovies.ItemsSource = GoodMovies; BadMovies = User.GetInstance().BadMovies; ListBadMovies.ItemsSource = BadMovies; ICommand refreshCommand = new Command(() => { RefreshGood.IsRefreshing = false; RefreshBad.IsRefreshing = false; }); RefreshGood.Command = refreshCommand; RefreshBad.Command = refreshCommand; Task.Run(() => ColorPallet.AnimateBackground(BoxView)); }
public SearchPageXama() { InitializeComponent(); BoxView.Background = ColorPallet.GetBackground(); Task.Run(() => ColorPallet.AnimateBackground(BoxView)); }
public MainPage() { Task.Run(MakePopularMovies); InitializeComponent(); Task.Run(() => ColorPallet.AnimateBackground(BoxView)); }