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

Using as part of existing view #5

Open
mgood7123 opened this issue May 10, 2021 · 3 comments
Open

Using as part of existing view #5

mgood7123 opened this issue May 10, 2021 · 3 comments

Comments

@mgood7123
Copy link

is it possible to move this into a View?

For example, as an embedded file view in an app, similar to what PowerAmp does

Eg

FileManager fv = new FileManager(context);
// set options for file manager
fileManagerContainer.addView(fv);
@abhishekti7
Copy link
Owner

Hello,
Thank you for the suggestion. I will certainly look into it and will try to incorporate something similar.

@mgood7123
Copy link
Author

Hello,
Thank you for the suggestion. I will certainly look into it and will try to incorporate something similar.

Thanks, i will too if i have the time :)

@mgood7123
Copy link
Author

mgood7123 commented May 11, 2021

do note, that every file picker on android arsenal offers itself as an activity/fragment, or a dialog, but NOT as a view :(

and most do not look as nice as this one does :(

and if this offers a fragment, then we MIGHT be able to use a fragment view in order to wrap the view

a possible example might be:

https://developer.android.com/reference/androidx/fragment/app/FragmentContainerView

class FileManagerView extends androidx.fragment.app.FragmentContainerView {
    // ...
}

also it would be worth noting this as a way to embed the file manager into an existing viewgroup
as i do not think that most users would know about FragmentContainerView
though this is optional since the FileManagerView could just do all of this for the user :)

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

No branches or pull requests

2 participants