sending array of files kotlin code example
Example: post multipart array retrofit
List<String> items = new ArrayList();
items.add("1");
items.add("2");
items.add("3");
@Multipart
@POST("/")
Call<Result> yourMethod(@PartMap() Map<String, RequestBody> partMap, @PartMap() Map<String, RequestBody> map, @Part MultipartBody.Part file, @Part("items[]") List<String> items);