Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select Hours #38

Open
hiralpatel opened this issue Apr 16, 2018 · 4 comments
Open

Select Hours #38

hiralpatel opened this issue Apr 16, 2018 · 4 comments
Labels

Comments

@hiralpatel
Copy link

While calendar view shows with a selected current date if I didn't choose a date and directly press the ok button the time picker view is not showing. How can I do that for show selection for a time?

@J-Jamet
Copy link
Member

J-Jamet commented Apr 23, 2018

I don't really understand what you mean. When you pressed the " ok " button, the dialog dismiss, you get the DateTime and that's all we need. If you want to open the dialog again, open it in your code.

@hiralpatel
Copy link
Author

Yes I get date and time always, but the scenario is like. When the date picker shows, without clicking/selecting date if we press "OK" button it is not showing Time picker. I want to show time picker compulsory after date picker.

@J-Jamet
Copy link
Member

J-Jamet commented Apr 23, 2018

The purpose of the library is to show the date, time and year in a single dialog box, the ok button validates the entire dialog box and indicates that the user is happy with the year, the date and the time indicated in the header. If he wants to change a value, he passes between the views by clicking on the button of the header or on a label. In any case, the ok button will validate the information displayed, which is normal. If you want to manage the views separately, use the elements provided by android instead.

@praveenb
Copy link

praveenb commented Feb 1, 2024

just incase, If any one looking for Date and time selection mandatory, I've implemented changes here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants