我使用通用图像加载器库下载图像并绕过图像的角落,它对我有用。
ImageLoaderConfiguration config = new ImageLoaderConfiguration.Builder(thisContext) // You can pass your own memory cache implementation.discCacheFileNameGenerator(new HashCodeFileNameGenerator()).build();DisplayImageOptions options = new DisplayImageOptions.Builder() .displayer(new RoundedBitmapDisplayer(10)) //rounded corner bitmap .cacheInMemory(true) .cacheonDisc(true) .build();ImageLoader imageLoader = ImageLoader.getInstance();imageLoader.init(config);imageLoader.displayImage(image_url,image_view, options );



