I'm looking to conduct a query to my Parse database and display this information in a list view.
Currently in my activity I have setContentView of my activity to a xml document which has a list with the id resultsView.
In my Parse database I have a table named Testing and want to receive all the information containing the Strings "Test1" from the column "A". I then want to display this information in the resultsView list.
ParseQuery<ParseObject> query = ParseQuery.getQuery("Testing");
query.whereEqualTo("A","Test1");
query.findInBackground(new FindCallback<ParseObject>()
{
public void done(List<ParseObject> resultsList, ParseException e) {
if (e == null) {
} else {
}
}
});
What is wrong with this query and how would I go about adding the queried information to the resultsView list?