You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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()
ADD android.support.v4.app.FragmentManager;.
2019 Year!
The text was updated successfully, but these errors were encountered: