Exemplo n.º 1
0
        private Task OpenDetails(BeatleModel beatle)
        {
            MessagingCenter.Send <object, int>(this, "TransitionId", beatle.Id);
            var details = new DetailsPage(beatle);

            return(Navigation.PushAsync(details));
        }
Exemplo n.º 2
0
        public DetailsPage(BeatleModel beatle)
        {
            InitializeComponent();

            Title.Text   = beatle.Name;
            Image.Source = beatle.Image;
            Bio.Text     = beatle.Bio;
        }
Exemplo n.º 3
0
        public BeatlesAppPage()
        {
            InitializeComponent();
            _beatles = BeatleModel.GetBeatles().ToList();
            _images  = new List <Image> {
                TopLeftImage, TopRightImage, BottomLeftImage, BottomRightImage
            };

            InitBeatleCell(TopLeftLabel, 0);
            InitBeatleCell(TopRightLabel, 1);
            InitBeatleCell(BottomLeftLabel, 2);
            InitBeatleCell(BottomRightLabel, 3);
        }
Exemplo n.º 4
0
        private Task OpenDetails(BeatleModel beatle)
        {
            var details = new DetailsPage(beatle);

            return(Navigation.PushAsync(details));
        }