android - I want to take the date from DatePicker -
this question has answer here:
- how date date picker in android? 6 answers
well doing app has 1 activity , class called mypicker extends dialogfragment , implements datepickerdialog.ondatesetlistener
the thing when user click in button datapicker appear , want take date datepicker texfield activity.
how recommend that?
if changing date in date picker can this
datepicker.setondatechangelistner(new ondatechangedlistener() { public void ondatechanged(datepicker view, int year1, int monthofyear1, int dayofmonth1) { year = year1; monthofyear = monthofyear1; dayofmonth = dayofmonth1; } } );
Comments
Post a Comment