1
我正在使用scrollview在nxn矩阵中显示图像(属性图像),但需要更多时间。到我使用通用图像加载器Android - 如何将图像加载到屏幕上可见的滚动视图中?
config = new ImageLoaderConfiguration.Builder(getApplicationContext())
.threadPoolSize(1)
.discCacheExtraOptions(225,145, CompressFormat.PNG, 100,null)
.denyCacheImageMultipleSizesInMemory()
.build();
imageLoader = ImageLoader.getInstance();
imageLoader.init(config);
options = new DisplayImageOptions.Builder()
.cacheOnDisc(true)
.imageScaleType(ImageScaleType.IN_SAMPLE_POWER_OF_2)
.bitmapConfig(Bitmap.Config.RGB_565)
.build();
,我使用此加载图像作为
imageLoader.displayImage(android.os.Environment.getExternalStorageDirectory()+"/SaintGobain/Images/"+projectDetail.get(dbHelper.thumb_image_path), thumb, options);
我有更多的图片来显示像10列并且在各列15至20的图像。所以我想要可见的图像,必须首先加载视图的其余部分才能加载。 Plz指导我如何自定义通用图像加载器?