iOS Question Adding a List to a Map

narek adonts

Well-Known Member
Licensed User
Longtime User

narek adonts

Well-Known Member
Licensed User
Longtime User
I tried but without success.


I have a global variabale - curAttributes which I am frequently cleaning. Before Cleaning I am trying to save it in map like this

B4X:
Public Sub SaveAttributes
Dim tmpAtt As TextAttributes=ActiveTXT.SaveTextAttributes
curAttributes.Add(tmpAtt)

Dim tmpattlist As List
tmpattlist.Initialize2(curAttributes)
mapID.Put(curImageID.tmpattlist)

End Sub


NO SUCCESS.

when retrieving a List from any Key I am always getting the latest List.

Narek
 
Upvote 0
Top