inside xml, even though they are marked as internal in
platform
module. Why linter isn't throwing any error?
👀 1
e
ephemient
11/22/2022, 1:13 PM
Android inflates XML by using Java reflection which does not know anything about Kotlin's internal visibility. as far as the framework is concerned, those classes are public
r
ritesh
11/22/2022, 1:17 PM
Inflation happens when you call
LayouInflator.inflate
isn't it? And that when it creates a view tree in Java?
ritesh
11/22/2022, 1:17 PM
I mean, should be there be a linter for xml's which can look out for modifiers.