当我想访问里面的SharedPreferencesdoInBackground
时遇到问题。我怎样才能做到这一点?
真的谢谢!
private class postData extends AsyncTask<String, Void, String> {
@Override
protected String doInBackground(String... params) {
// I need to access here to my SharedPreferences //
}
}