Skip to content Skip to sidebar Skip to footer

Send Int In Hashmap With Volley

i have implemented this answer - https://stackoverflow.com/a/19945676/4281848 in my code and it works great, however i am currently trying to send an integer with the hashmap and i

Solution 1:

change:

HashMap<String, Integer> params = new HashMap<String, Integer>();
            params.put("uid", userId);

to

HashMap<String, String> params = newHashMap<String, String>();
            params.put("uid", String.valueOf(userId));

Post a Comment for "Send Int In Hashmap With Volley"