I have a recorded a video but there is no way here to upload the video
I have compressed the video file in a zip fileblink.zip (590.5 KB)
Now I understand.
So how can I fix that
Now I understand.It’s all very difficult for you. Why do you make 4 buttons in each line when you only need 2 buttons?
If you need multiple button States, you need to enter a parameter to track the button state and change the image on the button and the link to call the desired resource depending on it.
Why do you have a blue button background color? Do you have a button with 3 States?
I am making a toggle on and off button
Toogle is done using a single button with two States. And you have two buttons and 3 States. Of course, everything will blink, because there is a redraw of unnecessary components.
Do you understand that you only need 4 buttons, and two images of as little weight as possible-on and off, and there should be no background for the buttons?
What is the current weight of images for buttons?
Can you make one please then I will understand
Thanks I will check it
I have a another problem what I want to do is call a api that returns response like this [“1”] and split the data inside the quotes and I want to change the state of the button with this value everytime
You need to create separate topics for each new question. Please create a separate topic and tell us in detail about your difficulties. The more detailed you describe the problem, the faster someone will help you solve it. Write everything in detail, what should happen and how.
This question is also related to this. What I want to do is call a api that returns a response like this [“1”] and I need split the data inside the quotes and change the state of button according to the value
Perfectly. Use text blocks to get the desired character and change the state as shown in my example.
Is there any way to continuously getting data from api
With the help of a timer.
When I was using a timer loop with 100 millisecond time and if I use the button onclick it doesn’t work
Make a request in 1 second.