[android][utils] add java.lang.Integer support for mapPutValue
This commit is contained in:
parent
6e3c4f0f57
commit
73d915f192
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue