Created
March 6, 2015 16:38
-
-
Save yongjhih/0c16297855732939f854 to your computer and use it in GitHub Desktop.
ParseQueryTest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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