-
Notifications
You must be signed in to change notification settings - Fork 190
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
Uncaught exception getLeft() #20
Comments
It sounds like your content view is empty. Maybe this happens when you switch fragments? Make sure you add a view within the drawer layout with the tag: 'content' or set it directly with the attribute: 'app:content'. |
Yes, I'm immediately switing to a other fragment, but I believe only after everything has been initialized. Is there a way to programatically check that? Or maybe a callback for when the DuoDrawerLayout is successfully initialized? ... Or maybe adding a null check somewhere would fix this? |
I am still not sure what is the cause... But I was able to get a workaround by calling |
Hi,
I'm dealing with the following problem:
I start an Activity from which I instantiate a fragment that contains DuoDrawerLayout. From within that fragment I try to call another fragment, but I get
I am pretty sure that I do this after everything has been initialized. Any ideas?
The text was updated successfully, but these errors were encountered: