package com.byoutline.secretsauce.utils;

import android.content.SharedPreferences;
import android.os.AsyncTask;
import com.byoutline.secretsauce.BaseApp;


/**
 * Created by Sebastian Kacprzak <sebastian.kacprzak at byoutline.com> on 27.03.15.
 */
public class SharedPrefsLoaderAsyncTask extends AsyncTask<Void, Void, SharedPreferences> {
    private BaseApp baseApp;

    public SharedPrefsLoaderAsyncTask(BaseApp baseApp) {
        this.baseApp = baseApp;
    }

    @Override
    protected SharedPreferences doInBackground(Void... voids) {
        return baseApp.loadSharedPrefsSync();
    }
}

@@ -154,16 +154,99 @@
 ;%0A%0A%0A/**%0A
+ * %7B@link AsyncTask%7D that loads %7B@link SharedPreferences%7D to memory in background.%0A
  * Creat

add short class description to SharedPrefsLoaderAsyncTask.