Hi There
I had this code working properly for years.
I am not sure at which point it started to behave weird, but I am using B4A 10.2
I am attaching a sample project, so you can reproduce the problem (it gets even worse with the sample project)
Please read the comments inside "GetCards"
I had this code working properly for years.
I am not sure at which point it started to behave weird, but I am using B4A 10.2
B4X:
Public Sub ISET_EventsLog_Get(lstEvents As List) As List
lstEvents.Initialize
If mINTSettingMap.ContainsKey(CISET_DEBUG_EVENTS_LOG) = True Then
'reads the list as written
Dim lst1 As List = mINTSettingMap.Get(CISET_DEBUG_EVENTS_LOG)
'reads back an empty list
lstEvents = mINTSettingMap.Get(CISET_DEBUG_EVENTS_LOG)
End If
Return lstEvents
End Sub
I am attaching a sample project, so you can reproduce the problem (it gets even worse with the sample project)
Please read the comments inside "GetCards"