When I use DataBinding on Android, I would like to specify a wildcard as follows. Is it possible?
A build error will occur if the following is written:
Is there any solution?
<data>
<import type="java.util.List"/>
<variable name="userList" type="List<?>"/>
</data>
DataBinding requires a HTML escape to write in XML.Therefore,
<data>
<import type="java.util.List"/>
<variable name="userList" type="List<?>"/>
</data>
must be described as
© 2024 OneMinuteCode. All rights reserved.