Retrofit has a `@Headers` annotation with a `Strin...
# announcements
b
Retrofit has a
@Headers
annotation with a
String[]
value.
Copy code
public @interface Headers {
  String[] value();
}
I’m trying to pass an array of Strings via
arrayOf("value1, "value2")
but get “Expected type mismatch: required:
String
found: `Array<String>`“. Is there something I need to do special to use the annotation with an array?