L
L
Lord Drous2016-11-06 21:57:22
Java
Lord Drous, 2016-11-06 21:57:22

How to insert 3 actions in ToggleButton?

Hello! The fact is that I need to implement 3 actions in 1 button, 1 - start playback, 2 - pause, 3 - continue playback, while I have a separate continue and pause button, who knows how to make it start when the button is pressed play the radio, and when pressed back, it stopped, then continued to play, and did not restart the connection to the radio stationcb403e4be7bc44cda3316b137893a15a.pngeaa4db1fed904bfdab21a44165b082ba.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2016-11-06
@sim3x

stackoverflow.com/questions/4823851/multi-state-to...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question