Populating JSON from this link to android Listview

后端 未结 4 1437
余生分开走
余生分开走 2020-12-18 04:58

I am trying to display the elements in listview from the JSON::

JsonURL- https://dl.dropboxusercontent.com/s/rhk01nqlyj5gixl/jsonparsing.txt

4条回答
  •  無奈伤痛
    2020-12-18 05:32

    Create a class, say Student, to contain a record, create an array of Student from the JSON, and then use that with ArrayAdapter to populate your ListView.

提交回复
热议问题