Code example for FragmentActivity

Methods: onContentChanged

0
    behavior.onDestroy();
    super.onDestroy(); 
  } 
  @Override 
  public void onContentChanged() { 
    super.onContentChanged(); 
    behavior.onContentChanged();
  } 
  @Override 
  public boolean onKeyDown(final int keyCode, final KeyEvent event) {
    final boolean r = behavior.onKeyDown(keyCode, event);
    if (r) { return true; }
    return super.onKeyDown(keyCode, event);
  } 
  @Override 
  public boolean onOptionsItemSelected(final MenuItem item) {
    final boolean r = behavior.onOptionsItemSelected(item);
    if (r) { return true; }
    return super.onOptionsItemSelected(item);
  } 
  @Override