public async Task OnClicked() { this.chapterChooserPage = new ChapterChooserPage(); await PageTransition.PushModalAsync(this.chapterChooserPage); await this.chapterChooserPage.Initialize( shouldPopTwice: false, author: readingInfo.Author, isNT: readingInfo.IsNT, bookNumber: readingInfo.BookNumber, chaptersCount: chaptersCount); }
private async Task OnBookClicked( int bookNumber, int chaptersCount) { ChapterChooserPage chapterChooserPage = new ChapterChooserPage(); await PageTransition.PushModalAsync( page: chapterChooserPage, animated: true); await chapterChooserPage.Initialize( shouldPopTwice: true, author: this.author, isNT: this.isNT, bookNumber: bookNumber, chaptersCount: chaptersCount); }