@@ -0,0 +1,1032 @@
+package lolstormSDK.modules;%0A%0Aimport android.content.Context;%0Aimport android.content.SharedPreferences;%0Aimport android.preference.PreferenceManager;%0A%0Aimport com.google.gson.Gson;%0Aimport com.jclolstorm.lolstorm.models.User;%0A%0Apublic class SavedDrawerUser %7B%0A%0A    private final String DRAWER_USER_TAG = %22drawer_user_tag%22;%0A%0A    private SharedPreferences mPreferences;%0A%0A    public SavedDrawerUser(Context context) %7B%0A        mPreferences = PreferenceManager.getDefaultSharedPreferences(context);%0A    %7D%0A%0A    public void updateSavedDrawerUser(User user) %7B%0A        String userAsJson = new Gson().toJson(user);%0A%0A        SharedPreferences.Editor editor = mPreferences.edit();%0A        editor.putString(DRAWER_USER_TAG, userAsJson);%0A        editor.apply();%0A    %7D%0A%0A    public User getSavedDrawerUser() %7B%0A        String historyAsJson = mPreferences.getString(DRAWER_USER_TAG, null);%0A%0A        if (null == historyAsJson) %7B%0A            return null;%0A        %7D else %7B%0A            return new Gson().fromJson(historyAsJson, User.class);%0A        %7D%0A    %7D%0A%7D%0A

add savedDrawerUsers to SDK