material-animated-switch icon indicating copy to clipboard operation
material-animated-switch copied to clipboard

how to run code if already online?

Open devhopes-ca opened this issue 6 years ago • 0 comments

I have an app like uber. Lets assume that the rider has already requested a ride. Once the driver goes online, then the request is seen but if the rider doesn't request a ride until after the driver goes online, the request is not seen. Is there anything else I can do other than if online or if offline? I tried doing switch.isChecked() but nothing changed.

devhopes-ca avatar May 12 '19 23:05 devhopes-ca