Android Question Concatenate button name

Shay

Well-Known Member
Licensed User
Longtime User
How do I do this? (this is from vb.net)

B4X:
For i=0 To 6
        
   Me.Controls("Button" & i).Text = "text"
        
Next

Goal:

Button0.Text = "text"
Button1.Text = "text"
...
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…