【发布时间】:2018-07-02 05:58:45
【问题描述】:
我尝试使用以下函数将键作为String 传递,将值作为Integer 传递,但它给出了错误。
@Override
protected Map<String, Integer> getParams() {
Map<String, Integer> params = new HashMap<String, Integer>();
params.put("id", 12);
return params;
}
【问题讨论】:
-
发布你的错误日志@suti
-
你遇到了哪个错误.....
-
Error:(112, 51) error: getParams() cannot override getParams() in Request return type Map
is not compatible with Map
标签: android json post android-volley