Here is my code. I try to start SharedPreferences but it seems that context is wrong - why?
Context context;
SharedPreferences SPgroup = context.getSharedPreferences(SPF_FILE_G, Context.MODE_PRIVATE);
Here is my code. I try to start SharedPreferences but it seems that context is wrong - why?
Context context;
SharedPreferences SPgroup = context.getSharedPreferences(SPF_FILE_G, Context.MODE_PRIVATE);