Closed SamaludheenCignes closed 6 years ago
UmmalquraCalendar now = new UmmalquraCalendar(); HijriDatePickerDialog hijriDatePickerDialog = HijriDatePickerDialog.newInstance(datePickerListener, now.get(Calendar.YEAR), now.get(Calendar.MONTH), now.get(Calendar.DAY_OF_MONTH)); hijriDatePickerDialog.show(getFragmentManager(), "HijriDatePickerDialog");
Getting Cannot resolve method 'show(android.support.v4.app.FragmentManager, java.lang.String) error in hijriDatePickerDialog.show(getFragmentManager(), "HijriDatePickerDialog");
hijriDatePickerDialog.show(getFragmentManager(), "HijriDatePickerDialog");
hijriDatePickerDialog.show(getActivity().getFragmentManager(), "HijriDatePickerDialog"); solved the problem
hijriDatePickerDialog.show(getActivity().getFragmentManager(), "HijriDatePickerDialog");
UmmalquraCalendar now = new UmmalquraCalendar(); HijriDatePickerDialog hijriDatePickerDialog = HijriDatePickerDialog.newInstance(datePickerListener, now.get(Calendar.YEAR), now.get(Calendar.MONTH), now.get(Calendar.DAY_OF_MONTH)); hijriDatePickerDialog.show(getFragmentManager(), "HijriDatePickerDialog");
Getting Cannot resolve method 'show(android.support.v4.app.FragmentManager, java.lang.String) error in
hijriDatePickerDialog.show(getFragmentManager(), "HijriDatePickerDialog");