@Override
 public void onResume() {
   super.onResume();
   mUploadFinishReceiver = new UploadFinishReceiver();
   IntentFilter filter = new IntentFilter(FileUploader.UPLOAD_FINISH_MESSAGE);
   getActivity().registerReceiver(mUploadFinishReceiver, filter);
 }
 @Override
 public void onResume() {
   super.onResume();
   mDownloadHelper.onActivityResume();
   mDownloadHelper.startDownloading(null, false);
   mRemoteImageLoader.onActivityResume();
 }
 @Override
 public void onResume() {
   super.onResume();
   if (userAdapter != null) {
     updateUserView();
   }
   getActivity().setTitle(getTitle());
 }
Example #4
0
 @Override
 public void onResume() {
   getSherlockActivity()
       .getSupportActionBar()
       .setSubtitle(getResources().getString(R.string.welcome_frag));
   ((MainActivity) getSherlockActivity()).setCurrentState(MainActivity.WELCOME_STATE);
   super.onResume();
 }
 @Override
 public void onResume() {
   super.onResume();
   if (adapter != null) {
     adapter.updateTime();
   }
   if (scheduleGridView != null) {
     scheduleGridView.invalidateViews();
   }
 }
Example #6
0
  @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();
  }
Example #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);
  }
  @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();
  }
Example #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();
   }
 }
  @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();
  }
  @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();
  }
 @Override
 public void onResume() {
   super.onResume();
   drawChart();
 };
Example #13
0
 @Override
 public void onResume() {
   super.onResume();
 }
Example #14
0
 @Override
 public void onResume() {
   super.onResume();
   refreshChecklists();
 }
 @Override
 public void onResume() {
   Log.v(DetailsFragment.TAG, String.format("in DetailsFragment onResume", mIndex));
   super.onResume();
 }
 @Override
 public void onResume() {
   super.onResume();
   adapter.setListItems(LessDroidApp.getDefault().getFaveApplications());
   adapter.notifyDataSetChanged();
 }
 @Override
 public void onResume() {
   super.onResume();
   getTransactions();
 }
  @Override
  public void onResume() {
    ((Button) getView().findViewById(R.id.button1)).setOnClickListener(this);

    super.onResume();
  }
 @Override
 public void onResume() {
   super.onResume();
   chartGallery.setIgnoreLayoutCalls(false);
 }
Example #20
0
 @Override
 public void onResume() {
   super.onResume();
   EventBus.getDefault().register(this);
 }
  @Override
  public void onResume() {
    super.onResume();

    _compassHelper.registerListener(this);
  }