Search in sources :

Example 1 with DatabaseHelper

use of com.gracecode.android.presentation.helper.DatabaseHelper in project Presentation by feelinglucky.

the class Huaban method onCreate.

@Override
public void onCreate() {
    super.onCreate();
    mInstance = Huaban.this;
    mGson = new Gson();
    mRequestQueue = Volley.newRequestQueue(getApplicationContext());
    mImageLoader = new ImageLoader(mRequestQueue, new BitmapLruCache(getApplicationContext()));
    mDatabaseHelper = new DatabaseHelper(getApplicationContext());
    mPresentationsManager = new PstManager(getApplicationContext());
}
Also used : BitmapLruCache(com.gracecode.android.presentation.cache.BitmapLruCache) DatabaseHelper(com.gracecode.android.presentation.helper.DatabaseHelper) PstManager(com.gracecode.android.presentation.util.PstManager) Gson(com.google.gson.Gson) ImageLoader(com.android.volley.toolbox.ImageLoader)

Aggregations

ImageLoader (com.android.volley.toolbox.ImageLoader)1 Gson (com.google.gson.Gson)1 BitmapLruCache (com.gracecode.android.presentation.cache.BitmapLruCache)1 DatabaseHelper (com.gracecode.android.presentation.helper.DatabaseHelper)1 PstManager (com.gracecode.android.presentation.util.PstManager)1