Android Question Problem in Map

darabon

Active Member
I have a map in each edittext in a layout that I save in activity_create
B4X:
Dim m as Map
m = txt.Tag
m.Put("name","darabon")
Why when I put name to map,dont add to map?
and there is no name key in map
 

darabon

Active Member
This code is correct (though I prefer to write: Dim m As Map = txt.Tag).

Any problem you have happens somewhere else... This is all that I can say.
Thank you
I think if I use Type instead of map, my problem will solve
Isn't it?
 
Upvote 0
Top