(String[] value)
| 3314 | } |
| 3315 | |
| 3316 | @TypeConverter |
| 3317 | public static String fromStringArray(String[] value) { |
| 3318 | if (value == null || value.length == 0) |
| 3319 | return null; |
| 3320 | else { |
| 3321 | String[] copy = new String[value.length]; |
| 3322 | System.arraycopy(value, 0, copy, 0, value.length); |
| 3323 | for (int i = 0; i < copy.length; i++) |
| 3324 | copy[i] = Uri.encode(copy[i]); |
| 3325 | return TextUtils.join(" ", copy); |
| 3326 | } |
| 3327 | } |
| 3328 | |
| 3329 | @TypeConverter |
| 3330 | public static String encodeAddresses(Address[] addresses) { |
no test coverage detected