material-daterange-picker icon indicating copy to clipboard operation
material-daterange-picker copied to clipboard

DialogFragment api is deprecated

Open tomscholz opened this issue 4 years ago • 8 comments

Hi, I'm running into this issue where when I'm using this library, that Android Studio gives me an error, saying that the DialogFragment API is deprecated. If I've understood the Android documentation correctly, we could solve this problem by switching to the support library or to androidX.

What do you think?

Cheers, Tom

tomscholz avatar Aug 20 '19 14:08 tomscholz

Thanks for pointing this out. I would love to get some help on fixing this if anyone is interesting in putting out a PR for this.

If not, it will be the first thing I take up in my next lib update stretch

heysupratim avatar Aug 23 '19 20:08 heysupratim

I stumbled on the same issue, any updates on androidx?

fullmoon6661 avatar Oct 03 '19 21:10 fullmoon6661

+1 with the issue. Any updates?

ibrahimbroachwala avatar Nov 11 '19 14:11 ibrahimbroachwala

+1

OneXeor avatar Nov 26 '19 21:11 OneXeor

I solved it with the deprecated fragment manager from Activity activity?.fragmentManager?.beginTransaction()?.add(picker, "")?.commit()

OneXeor avatar Nov 26 '19 22:11 OneXeor

+1

carrymaster avatar Dec 05 '19 02:12 carrymaster

+1

If anyone have found a solution, I'd love to have it.

rollin-s avatar Apr 15 '20 22:04 rollin-s

+1

androidovshchik avatar Jun 09 '20 08:06 androidovshchik