Closed fadedreams closed 5 years ago
Yeah I also looking for that :D
You can modify the model to have string for image url instead of int.
you can fetch image url Like this @JonathanNet @colorless1 @Override public void set(YourModel yourModel, int position) { if (yourModel.getPictureName().contains(" ")){ Picasso.get() .load(R.drawable.empty_pic_big) .into(sliderImage); } else { Picasso.get() .load(yourModel.getPictureName()) .into(sliderImage); } }
@MohamedHamole7 thanks
Hi, I am new in android programming, could you please guide me how to use this to load dynamic images from URL instead of using R.drawable folder? thanks