コード例 #1
0
 public RaagShabadList(Raag raag)
 {
     BindingContext = new Theme();
     Title          = raag.RaagEnglish;
     _con           = DependencyService.Get <ISqliteDb>().GetSQLiteConnection();
     _raag          = raag;
     InitializeComponent();
     LoadRaagShabads();
 }
コード例 #2
0
        private async void lstRaag_ItemSelected(object sender, SelectedItemChangedEventArgs e)
        {
            if (e.SelectedItem == null)
            {
                return;
            }
            Raag raag = e.SelectedItem as Raag;
            await Navigation.PushAsync(new RaagShabadList(raag));

            lstRaag.SelectedItem = null;
        }