Hai,
I have a Button to add EditText dynamically, now I want to get text from all created EditText.
My code is given below..
I have a Button to add EditText dynamically, now I want to get text from all created EditText.
My code is given below..
B4X:
'Dim i as Int
'i=80
'Dim txt as EditText
Sub BtnAdd_Click
txt.Initialize("")
Activity.AddView(txt,10,i,40,30)
i=i+30
End Sub
Sub btnnew_Click
Dim str As String
str=txt.Text ' here i want to get all text as array
End Sub
Last edited: