Beispiel #1
0
        public AuthorChooserPage()
            : base("اختر الكاتب ")
        {
            this.Content = App.LoadingImage;

            this.authorsGrid = new AuthorsGrid();

            this.layout = new StackLayout
            {
                Padding = Constants.DefaultPadding,
                Orientation = StackOrientation.Vertical,
                VerticalOptions = LayoutOptions.CenterAndExpand
            };

            layout.Children.Add(authorsGrid);
        }
Beispiel #2
0
        private async Task OnAuthorChanged(AuthorsGrid sender, Author author)
        {
            if (this.readingInfo.Author != author)
            {
                this.readingInfo.Author = author;

                await this.Initialize(this.readingInfo);
            }
        }