Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android.support.v4.app.FragmentManager; #107

Open
ghost opened this issue Jun 27, 2019 · 5 comments
Open

android.support.v4.app.FragmentManager; #107

ghost opened this issue Jun 27, 2019 · 5 comments
Assignees
Milestone

Comments

@ghost
Copy link

ghost commented Jun 27, 2019

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

2019 Year!

@ghost
Copy link
Author

ghost commented Jun 27, 2019

androidX FragmentManager;

@codekidX codekidX added this to the 3.0 milestone Jun 28, 2019
@codekidX codekidX self-assigned this Jun 28, 2019
@codekidX
Copy link
Owner

codekidX commented Jun 28, 2019

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

@SouravYadav584
Copy link

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()

@ashirmehmood1996
Copy link

is there going to be a solution for this ??

@ashirmehmood1996
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants