You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to use custom layout in java
In this layout, I have 3 buttons - button 1, button 2, button3
When I click each button, it'd trigger different functions
Version is 5.0.0
I used .getLayoutContainer().findViewById(R.id.button1).setOnClickListener(new View.OnClickListener() {
....., it worked for button1.
But i can't do another .getLayoutContainer to find button2 or 3.
Can you help me out?
Also it'd be great if you can post some sample code for this.
Many thanks
The text was updated successfully, but these errors were encountered:
Trying to use custom layout in java
In this layout, I have 3 buttons - button 1, button 2, button3
When I click each button, it'd trigger different functions
Version is 5.0.0
I used .getLayoutContainer().findViewById(R.id.button1).setOnClickListener(new View.OnClickListener() {
....., it worked for button1.
But i can't do another .getLayoutContainer to find button2 or 3.
Can you help me out?
Also it'd be great if you can post some sample code for this.
Many thanks
The text was updated successfully, but these errors were encountered: