I have use the below code to implement the login system for my app. I have use “Map” Method. What is the purpose/function of the “Map” Method?
@Override
protected Map<String, String> getParams() {
// Posting parameters to login url
Map<String, String> params = new HashMap<String, String>();
params.put("email", email);
params.put("password", password);
return params;
}