0

enter image description here

In this screen I am creating ride, and taking all these information include (Date and Time of ride) from the driver. After creating a ride I am saving all the data into firestore and getting data into next screen. I am also pasting the screenshot of next screen below

enter image description here

I want to show the countdown according to the date & time and when the countdown end, the start button will enable. how can we do it ? Kindly help me

1 Answers1

0

First of all you have to get difference of time. Start countdown timer with that time. Once you get zero you can enable start button based on that condition. You can see this solution.

Khyati Modi
  • 630
  • 1
  • 9
  • 19