Android Question how to insert a string from edittext

Robert_Poland

Member
Licensed User
Hey,
Can you tell me how to insert a string from edittext into the list
ie, such a code




B4X:
blockAddAll (Array As String ("control", "weather",))



and now, of course, it displays nice when clicked
but I would like to see the text which I have in edittext instead of "control"

because doing something like the one below does not pop up an error but when you start the application closes



B4X:
block.AddAll (Array As String ("control", edit_text.text,))



how to embrace it

someone something ?
thanks in advance
 
Top