0

I am using the glide library for my images in my app creation. I am getting a problem when i try to add a variable string to the base URL i have placed inside the load feature of Glide. The image does not return and i have found that using the url with the plus and then the variable is the problem. How do you go about adding fixing this and getting it to load with Glide?

Here is what i have...

public void onBindViewHolder(ViewHolder holder, int position) {
    final Movie movie = list.get(position);


Glide.with(context)
    .load("https://mywebsite.com/images/" + movie.getImagename())
    .into(holder.artImage);

    holder.textTitle.setText(movie.getTitle());
}
dionarap
  • 51
  • 5

0 Answers0