I\'m loading dynamically generated images so I always want them to be up to date. But they take time to load so I also want to display a cached version while the updated one
private lateinit var options: DisplayImageOptions options = DisplayImageOptions.Builder() .considerExifParams(true) .bitmapConfig(Bitmap.Config.RGB_565) .cacheOnDisk(true) .cacheInMemory(true) .build() ImageLoader.getInstance().displayImage(Model.img_url, itemView.ivPlayer, options)