06 2015 档案
摘要:private void Btn_Click(object sender, EventArgs e) { var u = FindViewById(Resource.Id.editText1).Text; var p = FindViewById(Resource.Id.editText2).Text; var progressDialog = ProgressDialog...
阅读全文
摘要:public override bool OnKeyDown([GeneratedEnum]Keycode keyCode, KeyEvent e) { if (keyCode == Keycode.Back) { Finish(); System.Environment.Exit(0); } return base.OnKeyDow...
阅读全文
摘要:跳转无需intent,直接给要跳转的activity的type就可以了 StartActivity(typeof(Login));
阅读全文
摘要:读 PreferenceManager.GetDefaultSharedPreferences(this).GetInt("uid", 0); 写 var editor = PreferenceManager.GetDefaultSharedPreferences(this).Edit(); editor.PutInt("uid", id); editor.Apply();
阅读全文