I am working on datepicker
dialog and one issue that i am facing is to have the cancel button on the picker(no cancel button for android jelly bean). now the problem is also with that my datepicker dialog is getting invoked on button(in listview
adapter class) press.In adapter class i am using date_picker_id concept.. Any help would be really appreciated.
((Activity) LessonListViewAdapter.this.context).showDialog(DATE_DIALOG_ID);
This calls the createdialog function in Activity
.