Resource ID support for view inspector
This allows for inspectors to do special handling on values known to be resource IDs, such as converting them to a string format. + Add PropertyMapper#mapResourceId(String, int) and PropertyReader#readResourceId(int, int) + Add RESOURCE_ID to @InspectableProperty.ValueType + Add code generation support in the annotation processor, and value type inference for accessors annotated with a resource ID annotation like @AnyRes. Bug: 127348933 Test: atest --host view-inspector-annotation-processor-test Change-Id: I132aea319dcddf51c553057c036ce5609e3c381a
Loading
Please register or sign in to comment