i got this JSONArray but i cant figure out how to put it in a listview. i figured out the ArrayAdapter but is doesnt give me the right result
[{"id":"1","name":"Joris","sex":"1","birthyear":"1987"},{"id":"2","name":"bjorn","sex":"1","birthyear":"1987"},{"id":"3","name":"Mel","sex":"0","birthyear":"1992"},{"id":"4","name":"Peter","sex":"1","birthyear":"1955"},{"id":"5","name":"Geer","sex":"1","birthyear":"1979"}]
this is my result on the phone in a list after using ArrayAdapter.
Can somebody help me?
{"id":"1","name":"Joris","sex":"1","birthyear":"1987"}
{"id":"2","name":"bjorn","sex":"1","birthyear":"1987"}
{"id":"3","name":"Mel","sex":"0","birthyear":"1992"}
{"id":"4","name":"Peter","sex":"1","birthyear":"1955"}
{"id":"5","name":"Geer","sex":"1","birthyear":"1979"}