We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description: https://github.com/material-components/material-components-android/blob/master/docs/components/DatePicker.md:
Subscribe to button clicks or dismiss events with the following calls: picker.addOnPositiveButtonClickListener { // Respond to positive button click. } picker.addOnNegativeButtonClickListener { // Respond to negative button click. } picker.addOnCancelListener { // Respond to cancel button click. <-- } picker.addOnDismissListener { // Respond to dismiss events. }
Subscribe to button clicks or dismiss events with the following calls:
picker.addOnPositiveButtonClickListener { // Respond to positive button click. } picker.addOnNegativeButtonClickListener { // Respond to negative button click. } picker.addOnCancelListener { // Respond to cancel button click. <-- } picker.addOnDismissListener { // Respond to dismiss events. }
Expected behavior:
Subscribe to button clicks, cancel and dismiss events with the following calls: picker.addOnPositiveButtonClickListener { // Respond to positive button click. } picker.addOnNegativeButtonClickListener { // Respond to negative button click. } picker.addOnCancelListener { // Respond to cancel events. <-- } picker.addOnDismissListener { // Respond to dismiss events. }
Subscribe to button clicks, cancel and dismiss events with the following calls:
picker.addOnPositiveButtonClickListener { // Respond to positive button click. } picker.addOnNegativeButtonClickListener { // Respond to negative button click. } picker.addOnCancelListener { // Respond to cancel events. <-- } picker.addOnDismissListener { // Respond to dismiss events. }
See also: https://github.com/material-components/material-components-android/blob/master/docs/components/TimePicker.md:
Subscribe to positive button click, negative button click, cancel and dismiss events with the following calls: picker.addOnPositiveButtonClickListener { // call back code } picker.addOnNegativeButtonClickListener { // call back code } picker.addOnCancelListener { // call back code } picker.addOnDismissListener { // call back code }
Subscribe to positive button click, negative button click, cancel and dismiss events with the following calls:
picker.addOnPositiveButtonClickListener { // call back code } picker.addOnNegativeButtonClickListener { // call back code } picker.addOnCancelListener { // call back code } picker.addOnDismissListener { // call back code }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description: https://github.com/material-components/material-components-android/blob/master/docs/components/DatePicker.md:
Expected behavior:
See also: https://github.com/material-components/material-components-android/blob/master/docs/components/TimePicker.md:
The text was updated successfully, but these errors were encountered: