jjobes / SlideDateTimePicker

A combined DatePicker and TimePicker in a DialogFragment for Android
Apache License 2.0
836 stars 235 forks source link

FragmentManager not belong #59

Open mohitissar opened 6 years ago

mohitissar commented 6 years ago

Fragment DateFragment{4262dd00 #0 id=0x7f090193 android:switcher:2131296659:0} declared target fragment SlideDateTimeDialogFragment{42616d20 #0 tagSlideDateTimeDialogFragment} that does not belong to this FragmentManager!

joshuacameron commented 6 years ago

Someone else is having the same issue! I've been beating my head against this for hours.

Basically, I can't implement SlideDateTimePicker into my project. When trying to run the new SlideDateTimePicker.Builder(getSupportFragmentManager()) code I get the same error above. I first off thought it was an issue being a fragment in a fragment, so I separated the code into it's own activity and tried that, but that still didn't work. Then I tried simply implementing the demo, and that didn't work either, so I thought I'd checkout issues section, and here I am.

Happy to provide any other information you may ask for. Would love to get this fixed ASAP so I can continue trying to put this in my project!

joshuacameron commented 6 years ago

oh... this project is abandoned

mohitissar commented 6 years ago

ok thanks for the support

kamleshkarwande commented 5 years ago

This link helped https://github.com/jjobes/SlideDateTimePicker/pull/46

lucazin commented 4 years ago

same error..