Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Add a quick meeting and refresh app in background thread.
- */
- public class AddEventInBackground {
- Context mContext;
- public AddEventInBackground(Context mContext)
- // it goes untill this bracket {
- this.mContext = mContext;
- }
- // But it immediatly goes here??
- SharedPreferences sharedPreferences = this.mContext.getSharedPreferences(SHARED_PREF_FILENAME,
- Context.MODE_PRIVATE);
- CountryActivity countryActivity = new CountryActivity();
- // TODO: sharedPreference should be used to retrieve calendarId instead of hard coding it.
- String calendarId = countryActivity.getSharedCalendarId();
- View mView;
- Map mSnackbarStringMap;
- CompositeDisposable mDisposables;
- /**
- * Getter for the RoomAvailablityActivity context.
- *
- * @param context the room availablity activity context.
- */
- public void getContext(Context context) {
- this.mContext = context;
- }
- /// ommitted
Add Comment
Please, Sign In to add comment