Hello,
I saw different posts exposing this issue but any of those solved my case.
I specify full namespace of the DatePickerDialog
Calendar now = Calendar.getInstance(); com.borax12.materialdaterangepicker.date.DatePickerDialog.newInstance( null, now.get(Calendar.YEAR), now.get(Calendar.MONTH), now.get(Calendar.DAY_OF_MONTH) ).show( getActivity().getFragmentManager(), "Datepickerdialog" );
but it gives me a class cast exception,
java.lang.ClassCastException: com.wdullaer.materialdatetimepicker.date.AccessibleDateAnimator cannot be cast to com.borax12.materialdaterangepicker.date.AccessibleDateAnimator
The build.gradle file includes both libraries as follow
compile 'com.wdullaer:materialdatetimepicker:2.5.0' compile 'com.borax12.materialdaterangepicker:library:1.9'
Hello, I saw different posts exposing this issue but any of those solved my case. I specify full namespace of the DatePickerDialog
Calendar now = Calendar.getInstance(); com.borax12.materialdaterangepicker.date.DatePickerDialog.newInstance( null, now.get(Calendar.YEAR), now.get(Calendar.MONTH), now.get(Calendar.DAY_OF_MONTH) ).show( getActivity().getFragmentManager(), "Datepickerdialog" );
but it gives me a class cast exception,java.lang.ClassCastException: com.wdullaer.materialdatetimepicker.date.AccessibleDateAnimator cannot be cast to com.borax12.materialdaterangepicker.date.AccessibleDateAnimator
The build.gradle file includes both libraries as follow
compile 'com.wdullaer:materialdatetimepicker:2.5.0' compile 'com.borax12.materialdaterangepicker:library:1.9'
Any suggestion to how solve this case?
Thanks in advance @borax12 !