Hi,
I have created a Map with a string as Key and List in Values - No issue.
Then I save it using WriteMap
After Saving it I try to read it with ReadMap and try reading the list stored in value
I am unable to read the list properly.
Where am I going wrong. Is this type of structure not allowed?
Thanks in adv.
Cheers
I have created a Map with a string as Key and List in Values - No issue.
B4X:
thisLst.InsertAt(typMapFld.Duration, 0)
thisLst.InsertAt(typMapFld.SeqLength, 1)
thisLst.InsertAt(typMapFld.Attempts, 2)
thisLst.InsertAt(typMapFld.isCurrentStage, 3)
thisLst.InsertAt(typMapFld.isCompleted, 4)
'
thisMap.Put(key, thisLst)
B4X:
File.WriteMap(SS_FilePath, "stages", thisMap)
After Saving it I try to read it with ReadMap and try reading the list stored in value
B4X:
mapStages= File.ReadMap(SS_FilePath, "stages")
thislst= mapStages.Get(key)
I am unable to read the list properly.
Where am I going wrong. Is this type of structure not allowed?
Thanks in adv.
Cheers