I have listview
populated by an Object, but I wanted to know if I have how to change the object, I was able to change the view corresponding to this Object, not% whole.
I have listview
populated by an Object, but I wanted to know if I have how to change the object, I was able to change the view corresponding to this Object, not% whole.
Create a method to change the item in the list, add the conditions to capture the specific item that you want to change. You need to go item by item in the list, use for
to do so:
for (Object ob : listObj) {
if('vouAlterar'.equals(ob.getNome())) {
ob.setNome = 'Alterei';
}
}