private async void CardListView_ItemSelected(object sender, SelectedItemChangedEventArgs e) { Balance balance = (Balance)e.SelectedItem; if (balance == null) { return; } var balancePage = new BalancePage(balance); await Navigation.PushAsync(balancePage); }
public App() { InitializeComponent(); InitializeDatabase(); var userdata = dataManager.GetUserCokkiedata(); if (userdata.Count > 0) { MainPage = new BalancePage(); } else { MainPage = new Login(); } }