Java/Android loop list only remembers last member : I have this list of users

    [{"id":1,"name":"Radovan","username":"1","password":"1","photo":"slika"},
    {"id":2,"name":"Milovan","username":"2","password":"2","photo":"slika"},
    {"id":3,"name":"Zivan","username":"3","password":"3","photo":"slika"}]

How do I go through whole list and remember every user in it, because when I go
    for(int i = 0; i < users.size(); i++), only last user is remembered.
