コード例 #1
0
        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);
        }
コード例 #2
0
        public App()
        {
            InitializeComponent();
            InitializeDatabase();
            var userdata = dataManager.GetUserCokkiedata();

            if (userdata.Count > 0)
            {
                MainPage = new BalancePage();
            }
            else
            {
                MainPage = new Login();
            }
        }