-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Pass layout in activity constructor #14
Comments
As a workaround the noreflection version can be used with CreateMethod.INFLATE |
So, basically, you didn't fix anything. Correct? I just encountered the same problem. I receive this exception: |
@krutzzz All I know is that in my fork (available on jitpack) it's possible to use the Fragment constructor. And the activity constructor can't be used however it's possible to use the inflate create method with that it works |
I'm normally using a viewbinding library to simplify the process and prevent memory leaks.
ViewBindingPropertyDelegate
The library wants me to pass the layout in the activity constructor as described in the README.
This makes it impossible to use with this Theme-Manager.
💡 Describe the solution you'd like
It would be nice if this library were compatible with ViewBindingPropertyDelegate and the best option for this would be if it's possible to pass the layout in the constructor.
🤚 Do you want to develop this feature yourself?
The text was updated successfully, but these errors were encountered: