private void InitializeView()
        {
            if (ThisApp.ReaderKind == ReaderKind.EPUBReader)
            {

            }
            else if (ThisApp.ReaderKind == ReaderKind.PublicationReader)
            {
                XDocument doc = ThisApp.GetNWTFile(ThisApp.Language, ThisApp.selectedPublication.Image);
                List<PublicationArticle> collection = doc.Descendants("article")
                    .Select(article => new PublicationArticle
                    {
                        ArticleTitle = article.Element("title").Value,
                        Content = article.Element("content").Value,
                        DocumentLocation = article.Element("documentLocation").Value,
                        PublicationTitle = ThisApp.selectedPublication.Image
                    }).ToList();

                ThisApp.allPublicationArticles = collection;

                var actionBar = SupportActionBar;
                SupportActionBar.SetDisplayHomeAsUpEnabled(true);

                var pagerAdapter = new PublicationPagerAdapter(SupportFragmentManager);

                viewPager = FindViewById<ViewPager>(Resource.Id.viewpager);
                viewPager.Adapter = pagerAdapter;
                viewPager.SetOnPageChangeListener(new PageChangeListener(viewPager));
                //viewPager.SetPageTransformer(true, new DepthPageTransformer());
                viewPager.CurrentItem = (int)(ThisApp.selectedPublication.CurrentPage - 1);

                Title = ThisApp.selectedPublication.ShortTitle;
            }
            else if (ThisApp.ReaderKind == ReaderKind.BibleReader)
            {
                XDocument doc = ThisApp.GetNWTFile(ThisApp.Language, ThisApp.selectedBook.Name.ToUpper());
                List<string> collection = doc.Descendants("c").Select((element) => element.Value).ToList();
                ThisApp.allBookChapters = collection;

                var actionBar = SupportActionBar;
                SupportActionBar.SetDisplayHomeAsUpEnabled(true);

                var pagerAdapter = new BiblePagerAdapter(SupportFragmentManager);

                viewPager = FindViewById<ViewPager>(Resource.Id.viewpager);
                viewPager.Adapter = pagerAdapter;
                viewPager.SetOnPageChangeListener(new PageChangeListener(viewPager));
                //viewPager.SetPageTransformer(true, new DepthPageTransformer());
                viewPager.CurrentItem = (int)(int.Parse(ThisApp.selectedChapter.ChapterNumber) - 1);

                Title = ThisApp.selectedBook.Title;
            }
            else if (ThisApp.ReaderKind == ReaderKind.DailyTextReader)
            {

            }
        }
        public void UpdatePager(int index)
        {
            RunOnUiThread(() =>
            {
                SetContentView(Resource.Layout.ViewPagerLayout);

                XDocument doc = ThisApp.GetNWTFile(ThisApp.Language, ThisApp.selectedBook.Name.ToUpper());
                List<string> collection = doc.Descendants("c").Select((element) => element.Value).ToList();
                ThisApp.allBookChapters = collection;

                var pagerAdapter = new BiblePagerAdapter(SupportFragmentManager);

                viewPager = FindViewById<ViewPager>(Resource.Id.viewpager);
                viewPager.Adapter = pagerAdapter;
                viewPager.SetOnPageChangeListener(new PageChangeListener(viewPager));
                viewPager.CurrentItem = index - 1;

                Title = ThisApp.selectedBook.Title;

                SlidingMenu.ShowContent();
            });
        }