Example #1
0
  @Override
  protected void onDetachedFromWindow() {
    super.onDetachedFromWindow();

    this.onStop();
    this.onDestroy();
  }
Example #2
0
  @Override
  protected void onWindowVisibilityChanged(int visibility) {
    super.onWindowVisibilityChanged(visibility);

    if (visibility == View.VISIBLE) {
      this.onResume();
    }
  }
Example #3
0
  @Override
  protected void onFinishInflate() {
    super.onFinishInflate();

    initUI();
  }