storage-chooser icon indicating copy to clipboard operation
storage-chooser copied to clipboard

android.support.v4.app.FragmentManager;

Open ghost opened this issue 6 years ago • 5 comments

ADD android.support.v4.app.FragmentManager;.

2019 Year!

ghost avatar Jun 27 '19 06:06 ghost

androidX FragmentManager;

ghost avatar Jun 27 '19 06:06 ghost

Hi, the 3.0 will be released soon so it'll have full support of the AndroidX FragmentManager. Marked for 3.0 release.

Edit: which is linked to #91

codekidX avatar Jun 28 '19 16:06 codekidX

I still don't get how can I use it in a fragment. Can you please tell me in a bit detail. I am using this code in my fragment: ` StorageChooser chooser = new StorageChooser.Builder() .withActivity() .withFragmentManager(getFragmentManager()) .withMemoryBar(true) .build();

chooser.show();

chooser.setOnSelectListener(new StorageChooser.OnSelectListener() { @override public void onSelect(String path) {

}

}); ` This fragment in which I am using StorageChooser is from Navigation Drawer and getFragmentManager() is deprecated. Can you please tell me what should I write in .withActivity() and .withFragmentManager()

SouravYadav584 avatar Jul 11 '20 10:07 SouravYadav584

is there going to be a solution for this ??

ashirmehmood1996 avatar Sep 29 '20 16:09 ashirmehmood1996

its been more than a year what to do this deprecation?? Has Any one sorted out something?

ashirmehmood1996 avatar Sep 29 '20 16:09 ashirmehmood1996