Skip to content

Instantly share code, notes, and snippets.

@yongjhih
Created March 6, 2015 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yongjhih/0c16297855732939f854 to your computer and use it in GitHub Desktop.
Save yongjhih/0c16297855732939f854 to your computer and use it in GitHub Desktop.
ParseQueryTest
public class MyActivity extends Activity {
@Override public void onResume() {
super.onResume();
ParseQuery<ParseObject> query = ParseQuery.getQuery(ParseObject.class);
query.findInBackground(new FindCallback() {
@Override done(List<ParseObject> objects, ParseException e) {
getActivity().runOnUiThread(new Runnable() {
@Override public void run() {
// ...
}
}
}
});
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment