vs xamarin android SharedPreferences时间:2023-03-09 05:00:57 读 PreferenceManager.GetDefaultSharedPreferences(this).GetInt("uid", 0); 写 var editor = PreferenceManager.GetDefaultSharedPreferences(this).Edit(); editor.PutInt("uid", id); editor.Apply();