on 12-20-2023 4:12 PM
Hi Guys,
I have two segmented buttons in the fragment and need to switch between the two fragments dynamically when clicked on segmented button event.
Kindly help.
Regards,
Tamilselvan
Hello tamilselvanm,
To differentiate between buttons you can use Custom Data concept and add property to your segment button.
You can find example from the above link
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try to assign the ID to the segmented buttons and you can trigger the particular fragment based on it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
8 | |
8 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.