Closed geofjamg closed 8 months ago
Maybe TypedValue.untyped(value)
to be more explicit ?
TypedValue cannot be instantiated anymore, adder/builder should be used instead with methods:
withTypedValue(valueKey, value, type)
withUntypedValue(valueKey, value)
Do you want to request a feature or report a bug? Feature
What is the current behavior? We should provide a
TypedValue
constructor overload in case of an undefined type.could be written
Or even better
And provides an overload for all supported types to avoid .of(Object obj)
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, spectrum, etc)
(if a question doesn't apply, you can delete it)