문제

Is possible to load an image (logo) before loading the original image using Universal Image Loader?

How would be the implementation in this case?

Thanks in advance.

도움이 되었습니까?

해결책

Using DisplayImageOptions in the field 'showImageOnLoading':

IMAGE_OPTIONS = new DisplayImageOptions.Builder() // .showImageOnLoading(R.drawable.loader) // .resetViewBeforeLoading(false) // .bitmapConfig(Config.RGB_565) // .imageScaleType(ImageScaleType.IN_SAMPLE_INT) // .delayBeforeLoading(500) // .cacheOnDisc(true) // .cacheInMemory(true) // .build();

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top