You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.
But I can only get the View of the <include /> when the layout file is in the classes (aar).
If we depends the module in the project, it works well with the matched type (TestBinding).
What should I do? Please help me, thank you in advance.
I think we can use findViewById to compatible with this, but that's better if we can use the ViewBinding completely.
The same question in the stackoverflow without any answer.
The text was updated successfully, but these errors were encountered:
jun-wu-tw
changed the title
[ViewBinding] Get the View type instead of XxxxBinding when using the <include /> and the layout is in the classes (aar)
[ViewBinding] Get the View type instead of XxxxBinding when using the <include /> and the layout file is in the classes (aar)
Jan 20, 2023
We can get the matched type (
TestBinding
) of the<include />
if we set the id for it.But I can only get the
View
of the<include />
when the layout file is in the classes (aar).If we depends the module in the project, it works well with the matched type (
TestBinding
).What should I do? Please help me, thank you in advance.
I think we can use
findViewById
to compatible with this, but that's better if we can use theViewBinding
completely.The same question in the
stackoverflow
without any answer.The text was updated successfully, but these errors were encountered: