diff --git a/src/org/fox/ttrss/CommonActivity.java b/src/org/fox/ttrss/CommonActivity.java index bf05d33b..e941060b 100644 --- a/src/org/fox/ttrss/CommonActivity.java +++ b/src/org/fox/ttrss/CommonActivity.java @@ -154,9 +154,6 @@ public class CommonActivity extends ActionBarActivity { Log.d(TAG, "m_compatMode=" + m_compatMode); - ImageLoaderConfiguration config = new ImageLoaderConfiguration.Builder(getApplicationContext()).build(); - ImageLoader.getInstance().init(config); - super.onCreate(savedInstanceState); } diff --git a/src/org/fox/ttrss/OnlineActivity.java b/src/org/fox/ttrss/OnlineActivity.java index ab7a6ab1..45bb6168 100644 --- a/src/org/fox/ttrss/OnlineActivity.java +++ b/src/org/fox/ttrss/OnlineActivity.java @@ -51,6 +51,8 @@ import com.google.gson.Gson; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.reflect.TypeToken; +import com.nostra13.universalimageloader.core.ImageLoader; +import com.nostra13.universalimageloader.core.ImageLoaderConfiguration; public class OnlineActivity extends CommonActivity { private final String TAG = this.getClass().getSimpleName(); @@ -173,6 +175,10 @@ public class OnlineActivity extends CommonActivity { setStatusBarTint(); + ImageLoaderConfiguration config = new ImageLoaderConfiguration.Builder(getApplicationContext()).build(); + ImageLoader.getInstance().init(config); + ImageLoader.getInstance().clearDiskCache(); + //m_pullToRefreshAttacher = PullToRefreshAttacher.get(this); if (isOffline) {