-
Notifications
You must be signed in to change notification settings - Fork 35
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
Working around custom attributes #7
Comments
@ozodrukh for custom attributes i had the idea to add converters with annotations. For example https://github.com/FabianTerhorst/FastLayout/blob/master/app/src/main/java/io/fabianterhorst/fastlayout/sample/MyLayoutConverter.java . But the reflection to init the converter class doesn´t work right now.https://github.com/FabianTerhorst/FastLayout/blob/master/fastlayout-processor/src/main/java/io/fabianterhorst/fastlayout/processor/LayoutProcessor.java#L107 |
Same here. I have been continuously coming with all kinds of workarounds, but gave up after realising, that…
All of that solely to combat AssetManager. Nevertheless, good luck with this project.
Forget that, I have just recalled seeing less roundabout solution in other library. I will elaborate in #10. |
@Alexander-- have you also tried to create a XmlBlock.Parser with reflection? |
@Alexander-- but im sure setting a theme programatically should work. I will try to find a solution for this. |
@Alexander-- themes should working now. |
I tried to invent this project weeks ago, but i gave up because of custom attributes support, as you started i wish i could help you in development if i find time.
Anyway we could not support custom attributes.
What can we do? Give an interface to call custom methods in order to setup and notify user that we don't support them overtime he mades changes in the layout
The text was updated successfully, but these errors were encountered: