-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
use in fragment #9
Comments
Hi @marzieNoor, Then use corresponding functions with filePicker instance but after ui is inflated |
I try it before but i got same Error and crashed my application othewise when add this line to fragment , we have a 'Type mismatch' error: Type mismatch. Even if we cast it to 'AppCompatActivity' or 'MainActivity', the crash problem will not be solved thanls |
@marzieNoor Oh sorry for such a bad experience. |
@Atwa |
Hi @marzieNoor You can now use the library with fragments safely the same way you initialize it in activity. |
Hi Atwa
how to use this methods in fragment?
when I use in fragment , I get this Err:
java.lang.IllegalStateException: LifecycleOwner MyPakageName.ui.MainActivity@69347ae is attempting to register while current state is RESUMED. LifecycleOwners must call register before they are STARTED.
thanks
The text was updated successfully, but these errors were encountered: