예제 #1
0
        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);
        }
예제 #2
0
        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);
        }