You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Put the JAR in the libs subfolder of your Android project
2. Android Manifest
<manifest>
<!-- Include following permission if you load images from Internet -->
<uses-permissionandroid:name="android.permission.INTERNET" />
<!-- Include following permission if you want to cache images on SD card -->
<uses-permissionandroid:name="android.permission.WRITE_EXTERNAL_STORAGE" />
...
</manifest>
3. Application or Activity class (before the first usage of ImageLoader)
publicclassMyActivityextendsActivity {
@OverridepublicvoidonCreate() {
super.onCreate();
// Create global configuration and initialize ImageLoader with this configImageLoaderConfigurationconfig = newImageLoaderConfiguration.Builder(this)
...
.build();
ImageLoader.getInstance().init(config);
...
}
}