Closed chrisonline closed 7 years ago
Fixed: The problem was that I use the 'com.github.jaydeep17:datetimepicker:0.0.4' too. If I compile the SublimeDatePicker BEFORE the DateTimePicker it works. The DateTimePicker from jaydeep doesn't have this field in the layout.
I have added the code as in the sample app, but have set the options to show only the recurrence picker. But after "show" I get this error: aused by: java.lang.NoSuchFieldError: No field date_picker_day_picker of type I in class Lcom/appeaser/sublimepickerlibrary/R$id; or its superclasses (declaration of 'com.appeaser.sublimepickerlibrary.R$id' appears in /data/data/com.colapps.reminder/files/instant-run/dex/slice-slice_4-classes.dex) at com.appeaser.sublimepickerlibrary.datepicker.SublimeDatePicker.initializeLayout(SublimeDatePicker.java:264)
The line who is crashing is in onCreateView in my RecurrencPickerDialogFragment: SublimePicker sublimePicker = (SublimePicker) getActivity().getLayoutInflater() .inflate(R.layout.sublime_picker, container);
What do I miss?