daimajia / AndroidImageSlider

An amazing and convenient Android image slider.
MIT License
5.62k stars 1.66k forks source link

Large images not loading in slider #373

Open JuneRk opened 6 years ago

JuneRk commented 6 years ago

Hello. When loading images from server using HashMap<String,String>, large images are not appearing in slider. Only images of size less than 2 MB are showing up in slider.

for(optionIndex=0;optionIndex<detailPictures.length;optionIndex++) { url_maps.put("Gallery"+optionIndex,url+detailPictures[optionIndex % detailPictures.length]+".jpg"); }

    for(String name : url_maps.keySet()){
        DefaultSliderView SliderView = new DefaultSliderView(this);

        SliderView
                .image(url_maps.get(name))
                .setScaleType(BaseSliderView.ScaleType.Fit);

        imageSlider.addSlider(SliderView);
    }
LunevNF commented 6 years ago

Have same problem!

athospy commented 6 years ago

same here, and the "ImageLoadListener" not working either to detect this issue in code

aqsashahid123 commented 5 years ago

i 've same issue

sunitasavaliya commented 4 years ago

same problem is there any solution?