コード例 #1
0
  @Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    super.onActivityResult(requestCode, resultCode, data);
    mPlayServicesHelper.handleActivityResult(requestCode, resultCode, data);

    if (requestCode == ListingAdapter.REQUEST_CODE_PLUS_ONE_BUTTON) {
      mActiveListingsAdapter.notifyDataSetChanged();
    }
  }
コード例 #2
0
 @Override
 protected void onStop() {
   super.onStop();
   mPlayServicesHelper.disconnect();
 }
コード例 #3
0
 @Override
 protected void onStart() {
   super.onStart();
   mPlayServicesHelper.connect();
 }