Android Question B4XTable to EditText

Instead of using PreferencesDialog, you can read the cell and pass to an EditText.
 
Upvote 0
Get row into a map from b4xtable, then set EditText by the map.
B4X: Copy
Dim Item As Map = B4XTable.GetRow(RowId)
Thanks for the answer. Sorry newbie here. Can i get only the value? Example, if i got is {Number=1001, Name=John, Age=19} but i only need the value, for text1=1001, text2=John and text3=19.
 
Upvote 0
Thanks for the answer. Sorry newbie here. Can i get only the value? Example, if i got is {Number=1001, Name=John, Age=19} but i only need the value, for text1=1001, text2=John and text3=19.
The value of a Map is accessed using Get and Key as the parameter.
Example:
B4X: Copy
txtName.Text = Item.Get("Name")
 
Upvote 1
Back
Top