You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mengyan Wang edited this page Oct 2, 2015
·
3 revisions
Overview
ParseQueryAdapter is a ListAdapter implementation powered by ParseQuery. It provides a layer of abstraction and allows you to easily display data from one of your Parse classes in your ListAdapterView of choice.
Usage
Import and config Parse as described in README.md.
Instantiate a ParseQueryAdapter and custom it as necessary.
// Initialize a ParseQueryAdapterParseQueryAdapter<ParseObject> adapter = newParseQueryAdapter<ParseObject>(this, "Instrument");
// Custom ParseQueryAdapter, for all ParseQueryAdapter setting please check our docadapter.setTextKey("name");
adapter.setImageKey("photo");
Set the new Adapter on your AdapterView with setAdapter().