コード例 #1
0
 @Override
 public void onResume() {
   super.onResume();
   mUploadFinishReceiver = new UploadFinishReceiver();
   IntentFilter filter = new IntentFilter(FileUploader.UPLOAD_FINISH_MESSAGE);
   getActivity().registerReceiver(mUploadFinishReceiver, filter);
 }
コード例 #2
0
 @Override
 public void onResume() {
   super.onResume();
   mDownloadHelper.onActivityResume();
   mDownloadHelper.startDownloading(null, false);
   mRemoteImageLoader.onActivityResume();
 }
コード例 #3
0
 @Override
 public void onResume() {
   super.onResume();
   if (userAdapter != null) {
     updateUserView();
   }
   getActivity().setTitle(getTitle());
 }
コード例 #4
0
 @Override
 public void onResume() {
   getSherlockActivity()
       .getSupportActionBar()
       .setSubtitle(getResources().getString(R.string.welcome_frag));
   ((MainActivity) getSherlockActivity()).setCurrentState(MainActivity.WELCOME_STATE);
   super.onResume();
 }
コード例 #5
0
 @Override
 public void onResume() {
   super.onResume();
   if (adapter != null) {
     adapter.updateTime();
   }
   if (scheduleGridView != null) {
     scheduleGridView.invalidateViews();
   }
 }
コード例 #6
0
ファイル: InfoFragment.java プロジェクト: luzzato/Social-App
  @Override
  public void onResume() {
    photoTxt.setTextColor(Color.parseColor("#797979"));
    photo_button.setBackgroundColor(Color.parseColor("#f3f3f3"));
    photoImage.setImageResource(R.drawable.photo_black_icon);

    statusTxt.setTextColor(Color.parseColor("#797979"));
    share_button.setBackgroundColor(Color.parseColor("#f3f3f3"));
    shareImage.setImageResource(R.drawable.status_black_icon);
    super.onResume();
  }
コード例 #7
0
  @Override
  public void onResume() {
    super.onResume();

    mDownloadFinishReceiver = new DownloadFinishReceiver();
    IntentFilter filter = new IntentFilter(FileDownloader.DOWNLOAD_FINISH_MESSAGE);
    getActivity().registerReceiver(mDownloadFinishReceiver, filter);

    mUploadFinishReceiver = new UploadFinishReceiver();
    filter = new IntentFilter(FileUploader.UPLOAD_FINISH_MESSAGE);
    getActivity().registerReceiver(mUploadFinishReceiver, filter);

    mPreview = (ImageView) mView.findViewById(R.id.fdPreview);
  }
コード例 #8
0
  @Override
  public void onResume() {
    final SharedPreferences settings =
        getActivity().getSharedPreferences(getString(R.string.settingsFile), Context.MODE_PRIVATE);

    ToggleButton startStop = (ToggleButton) getView().findViewById(R.id.startStop);
    // preserve state
    if (settings.getInt(getString(R.string.mode), -1) == 1) {
      startStop.setChecked(true);
    } else {
      startStop.setChecked(false);
    }
    Log.w("reloading pace", "mode =" + settings.getInt(getString(R.string.mode), -1));
    super.onResume();
  }
コード例 #9
0
 @Override
 public void onResume() {
   super.onResume();
   if (snoozing) {
     //			if (snoozeDialog != null && snoozeDialog.isShowing())
     //			{
     //				try
     //				{
     //					snoozeDialog.dismiss();
     //				}
     //				catch (java.lang.IllegalArgumentException e)
     //				{
     //					//TODO REPORT ERROR TO ANALYTICS
     //					e.printStackTrace();
     //				}
     //			}
     snoozeDialogue();
   }
 }
コード例 #10
0
  @Override
  public void onResume() {
    super.onResume();

    amountCalculatorLink.setListener(
        new CurrencyAmountView.Listener() {
          @Override
          public void changed() {
            updateView();
            updateShareIntent();
          }

          @Override
          public void focusChanged(final boolean hasFocus) {}
        });

    addressView.setOnItemSelectedListener(
        new OnItemSelectedListener() {
          @Override
          public void onItemSelected(
              final AdapterView<?> parent, final View view, final int position, final long id) {
            // ignore layout operations
            if (view == null) return;

            updateView();
            //				updateShareIntent();
          }

          @Override
          public void onNothingSelected(final AdapterView<?> parent) {}
        });

    loaderManager.initLoader(ID_RATE_LOADER, null, rateLoaderCallbacks);

    if (ENABLE_BLUETOOTH_LISTENING
        && bluetoothAdapter != null
        && bluetoothAdapter.isEnabled()
        && acceptBluetoothPaymentView.isChecked()) startBluetoothListening();

    updateView();
  }
コード例 #11
0
  @Override
  public void onResume() {
    super.onResume();

    amountCalculatorLink.setListener(
        new CurrencyAmountView.Listener() {
          @Override
          public void changed() {
            updateView();
          }

          @Override
          public void focusChanged(final boolean hasFocus) {}
        });

    loaderManager.initLoader(ID_RATE_LOADER, null, rateLoaderCallbacks);

    if (ENABLE_BLUETOOTH_LISTENING
        && bluetoothAdapter != null
        && bluetoothAdapter.isEnabled()
        && acceptBluetoothPaymentView.isChecked()) startBluetoothListening();

    updateView();
  }
コード例 #12
0
 @Override
 public void onResume() {
   super.onResume();
   drawChart();
 };
コード例 #13
0
 @Override
 public void onResume() {
   super.onResume();
 }
コード例 #14
0
ファイル: FolderFragment.java プロジェクト: jashp/ListPad
 @Override
 public void onResume() {
   super.onResume();
   refreshChecklists();
 }
 @Override
 public void onResume() {
   Log.v(DetailsFragment.TAG, String.format("in DetailsFragment onResume", mIndex));
   super.onResume();
 }
コード例 #16
0
 @Override
 public void onResume() {
   super.onResume();
   adapter.setListItems(LessDroidApp.getDefault().getFaveApplications());
   adapter.notifyDataSetChanged();
 }
コード例 #17
0
 @Override
 public void onResume() {
   super.onResume();
   getTransactions();
 }
コード例 #18
0
  @Override
  public void onResume() {
    ((Button) getView().findViewById(R.id.button1)).setOnClickListener(this);

    super.onResume();
  }
コード例 #19
0
 @Override
 public void onResume() {
   super.onResume();
   chartGallery.setIgnoreLayoutCalls(false);
 }
コード例 #20
0
 @Override
 public void onResume() {
   super.onResume();
   EventBus.getDefault().register(this);
 }
コード例 #21
0
  @Override
  public void onResume() {
    super.onResume();

    _compassHelper.registerListener(this);
  }