Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sync
- GCBaseRequest request = GCChutes.Resources.contributors(
- GCAccount.getInstance(getApplicationContext()), "6");
- try {
- GCResponse response = request.execute();
- GCMemberCollection collection = (GCMemberCollection) response.getResponseObject();
- Log.e(TAG, collection.toString());
- } catch (GCApiException e) {
- Log.w(TAG, "", e);
- }
- async
- new GCAsyncRunner(request, this).execute();
- @Override
- public void onComplete(GCResponse responseModel) {
- try {
- Log.e(TAG, responseModel.toString());
- } catch (Exception e) {
- Log.w(TAG, "", e);
- }
- }
- @Override
- public void onFail(String message, GCRequestParameters requestParameters,
- GCResponse responseModel) {
- try {
- Log.e(TAG, message);
- Log.e(TAG, requestParameters.toString());
- Log.e(TAG, responseModel.toString());
- } catch (Exception e) {
- Log.w(TAG, "", e);
- }
- }
Add Comment
Please, Sign In to add comment