Skip to content

Commit

Permalink
Sample: Added TargetApi annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
nostra13 committed Jun 27, 2013
1 parent 3bfc46d commit ce48178
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
*******************************************************************************/
package com.nostra13.example.universalimageloader;

import android.annotation.TargetApi;
import android.app.Application;
import android.content.Context;
import android.os.Build;
import android.os.StrictMode;

import com.nostra13.example.universalimageloader.Constants.Config;
import com.nostra13.universalimageloader.cache.disc.naming.Md5FileNameGenerator;
import com.nostra13.universalimageloader.core.ImageLoader;
Expand All @@ -30,6 +30,7 @@
* @author Sergey Tarasevich (nostra13[at]gmail[dot]com)
*/
public class UILApplication extends Application {
@TargetApi(Build.VERSION_CODES.GINGERBREAD)
@SuppressWarnings("unused")
@Override
public void onCreate() {
Expand All @@ -44,7 +45,7 @@ public void onCreate() {
}

public static void initImageLoader(Context context) {
// This configuration tuning is custom. You can tune every option, you may tune some of them,
// This configuration tuning is custom. You can tune every option, you may tune some of them,
// or you can create default configuration by
// ImageLoaderConfiguration.createDefault(this);
// method.
Expand Down

0 comments on commit ce48178

Please sign in to comment.