How can i get number and value of each item? I need this to put in my ListView line of apk that i im building...so i tried like this:
B4X:
'INITIALIZE - json
JSON.Initialize(Job.GetString2("UTF8"))
'NEXT - Object
Map1 = JSON.NextObject
'GET - VideoClub Items
VideoClubItems = Map1.Get("storage")
For i = 0 To VideoClubItems.Size - 1
Log(VideoClubItems.Get(i)) => Need to get index in this example => 1
Log(VideoClubItems.Get(i)) => Need to get index value in this example => AA
Next
I don't know using Get(i) how to get index and index value to print using log..so that i can later add it to listview item...so if you could help me what i need to write...thanks.