@Override
  public void onViewCreated(final View view, final Bundle savedInstanceState) {
    super.onViewCreated(view, savedInstanceState);

    amountCalculatorLink.setExchangeDirection(config.getLastExchangeDirection());
    amountCalculatorLink.requestFocus();
  }
Example #2
0
  @Override
  public void onViewCreated(View page, Bundle savedInstanceState) {
    if (savedInstanceState != null) {
      // Do your oncreate stuff because there is no bundle
      return;
    }
    Log.v(TAG, "On  View Created");
    super.onViewCreated(page, savedInstanceState);

    start_timer_button = (Button) page.findViewById(R.id.start_timer_button);
    clock = (TextView) page.findViewById(R.id.timer);
    end_button = (Button) page.findViewById(R.id.stop_button);
    start_timer_button.setOnClickListener(start_timer_click);
    end_button.setOnClickListener(end_click);

    setupComplete(startIndicatorBool);
    snooze(snoozeBool);
    timerStarted(timerStartedBool);

    //		if (snoozing)
    //		{
    //			if (snoozeDialog != null && snoozeDialog.isShowing())
    //			{
    //				snoozeDialog.dismiss();
    //			}
    //			snoozeDialogue();
    //		}
  }
  @Override
  public void onViewCreated(final View view, final Bundle savedInstanceState) {
    super.onViewCreated(view, savedInstanceState);

    // don't call in onCreate() because ActionBarSherlock invokes onCreateOptionsMenu() too early
    setHasOptionsMenu(true);

    amountCalculatorLink.setExchangeDirection(config.getLastExchangeDirection());
    amountCalculatorLink.requestFocus();
  }
  @Override
  public void onViewCreated(View view, Bundle savedInstanceState) {
    super.onViewCreated(view, savedInstanceState);

    _preferences = PreferenceManager.getDefaultSharedPreferences(getActivity());
    _compassView = (CompassView) view.findViewById(R.id.compassView);

    setRefreshButtonOnClick(view);
    setHasOptionsMenu(true);
  }
Example #5
0
  @Override
  public void onViewCreated(View view, Bundle savedInstanceState) {
    super.onViewCreated(view, savedInstanceState);

    final Bundle args = super.getArguments();
    final TextView tv = (TextView) view.findViewById(R.id.text_retry);
    final Button bt = (Button) view.findViewById(R.id.button_retry);

    bt.setOnClickListener(this);
    if (args != null && args.get(KEY_MESSAGE) != null) {
      tv.setText(args.getString(KEY_MESSAGE));
    }
  }
 @Override
 public void onViewCreated(View view, Bundle savedInstanceState) {
   super.onViewCreated(view, savedInstanceState);
 }