Open kardani opened 9 years ago
I have the similar issue from loading the images from the library. I have 4-8 images to load and when the activity start it kept sliding until the 3rd one and stop from there. How is the possible fix from this issue?? @dominikkv @daimajia
I think you need ViewPager#setOffscreenPageLimit I will open it in SliderLayout.
try this library @zhouqiangWang https://github.com/jjhesk/LoyalNativeSlider
Hello,how can i use setOffscreenPageLimit(), and I can not find it in SliderLayout.
hi i create view from ViewPager#setOffscreenPageLimit . It has runtime error when i use slideView.setOffscreenPageLimit(20); how to fix this?
Those who are stuck on three or four images and they are unable to load more than this, you just have to make sure that you have used different keys in file_maps. If you put the same keys into file_maps then the similar keys will consider once. For example if you want to load 6 images then you must have to put 6 uniques keys.
file_maps.put("Hannibal",R.drawable.first_image);
file_maps.put("Big Bang Theory",R.drawable.second_image);
file_maps.put("House of Cards",R.drawable.third_image);
file_maps.put("Game of Thrones", R.drawable.fifth_image);
file_maps.put("Ertugrul Ghazi Season_1", R.drawable.sixth_image);
file_maps.put("Ertugrul Ghazi Season_2", R.drawable.seventh_image);
Hi dear, your library is amazing. is there possible to load 2nd,3rd &... after scroll to them? I mean the image wont load until focused to that...