Android DatePicker |Android App Development With AndroidCource

Thursday 14 September 2017

Android DatePicker

DatePicker


DatePicker is a select date.

Select date on the day,month and year.

Inherited from android.widget.DatePicker this class.

This functionality provides on DatePicker and DatePickerDialog components.


Methods of DatePicker


getDayOfMonth()

This method gets the selected day of month

getMonth()

This method gets the selected month

getYear()

This method gets the selected year

getCalendarView()

This method return show calendar view.

updateDate(int year, int month, int dayOfMonth)

Updates the current date.

0 comments:

Post a Comment