How to manage images in a listView?

There is a listView. Each line contains 2 textView and image. How to manage these images from the code individually for each row of the list?
July 8th 19 at 16:41
1 answer
July 8th 19 at 16:43
Each line contains 2 textView and image.

How is this done?

How to manage these images from the code individually for each row in the list

It is believed that there should be a Model (a class with 2 String and 1 field with the image) and ViewModel (Adapter with an array or list of models), and a list item View for each Model, to programmatically handle it through an Adapter, but generally the whole "strict" MV* not mandatory, you can always do without the extra classes, that is, to "make head", then the application structure can become worse, but easier and faster to "shed" the most.
dajver.blogspot.com/2011/12/listview-android.html Here at this lesson - Humberto_Blan commented on July 8th 19 at 16:46
need to replace the standard picture to the picture from the Internet - Humberto_Blan commented on July 8th 19 at 16:49
: Just a HashMap to address, and which item is highlighted (index, text), it's definitely possible to learn from the ListView, and if you make changes to the HashMap, do not forget adapter.notifyDataSetChanges(); - mazie.Towne commented on July 8th 19 at 16:52

Find more questions by tags AndroidJava