Listview display duplicate data on refresh
问题 I have made a listview with image and text as elements. If the data is text it displays text and if it is image it displays image. When i click button from MainActivity to the listview, the listview is displayed as needed, i.e images for image and text for text data. The problem occurs when the listview activity is opened and any new data is inserted in db and the listview is refreshed. The data in the view is completely messed up. it shows image in the some of the text data. But when i go