android - Error: Incompatible types. Found: 'java.lang.Object', required: 'org.apache.http.NameValuePair' -
i trying code on android rest client getting error @ following line:
for (namevaluepair p : params) { }
error: incompatible types. found: 'java.lang.object', required: 'org.apache.http.namevaluepair'
please note import org.apache.http.namevaluepair;
any ?
for following line working
for(namevaluepair p : params) { }
params
type should array or list or collection of namevaluepair
objects.
Comments
Post a Comment