app/src/main/java/com/smedic/tubtub/fragments/PlaylistsFragment.java
private void saveAccount() {
        Log.d(TAG, "Saving account name... " + mChosenAccountName);
        SharedPreferences sp = PreferenceManager
                .getDefaultSharedPreferences(getActivity());
        sp.edit().putString(ACCOUNT_KEY, mChosenAccountName).commit();
    }
/**
     * Save account in preferences for future usages
     */
Save account in preferences for future usages
Save account in preferences for future usages
private void saveAccount() {
        Log.d(TAG, "Saving account name... " + mChosenAccountName);
        SharedPreferences sp = PreferenceManager
                .getDefaultSharedPreferences(getActivity());
        sp.edit().putString(ACCOUNT_KEY, mChosenAccountName).commit();
    }
private void saveAccount ( ) { Log . d ( TAG , "Saving account name... " + mChosenAccountName ) ; SharedPreferences sp = PreferenceManager . getDefaultSharedPreferences ( getActivity ( ) ) ; sp . edit ( ) . putString ( ACCOUNT_KEY , mChosenAccountName ) . commit ( ) ; }
Save account in preferences for future usages
Save account in preferences for future usages