private void UpdateCredentialsInCache(string email, string token) { AppPreferences ap = new AppPreferences(this); ap.PutString("email", email); ap.PutString("token", token); ap.Commit(); GlobalParams.getInstance().setEmail(email); GlobalParams.getInstance().setToken(token); }
private void OnItemClick(object sender, int position) { string title = _listItems[position].Title; ap.PutString("title", title); ap.Commit(); GlobalParams.getInstance().setTitle(title); StartActivity(_listItems[position].PageType); }