So I am following the tutorial here so I can images to my listview. The problem is in this tutorial the images are already installed so for getting the image it is saved as an int like so:
private int imageId;
private String title;
private String desc;
public RowItem(int imageId, String title, String desc) {
this.imageId = imageId;
this.title = title;
this.desc = desc;
}
public int getImageId() {
return imageId;
}
But I am getting the images from a server where it is coming to the app as a string and then be converted to a bitmap. The question I have is could I just change int to bitmap and everything will work out or is there something else I need to do? I don't want to work all the way through this and then it not work.
Thank you in advance,
Tyler