[android][utils] add java.lang.Integer support for mapPutValue

This commit is contained in:
Salakar 2018-05-06 13:49:49 +01:00
parent 6e3c4f0f57
commit 73d915f192
1 changed files with 3 additions and 0 deletions

View File

@ -63,6 +63,9 @@ public class Utils {
case "java.lang.Double": case "java.lang.Double":
map.putDouble(key, (Double) value); map.putDouble(key, (Double) value);
break; break;
case "java.lang.Integer":
map.putInt(key, (int) value);
break;
case "java.lang.String": case "java.lang.String":
map.putString(key, (String) value); map.putString(key, (String) value);
break; break;