I\'m looking for way to add an int array (e.g [0,1,3,5]) as parameter in a GET request with retrofit 2. Then, the generated url should be like this : http:/
Using toString didn't work for me. Instead, TextUtils.join(",", ids) does the trick.
toString
TextUtils.join(",", ids)
Don't forget to mark the Query with encoded = true.
Query
encoded = true