class ServerSearchActivity extends BaseActivity implements ServerSearchView {

  @Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    super.onActivityResult(requestCode, resultCode, data);

    boolean isSuccess = resultCode == RESULT_OK;
    if (!isSuccess) return;

    ServerModel serverModel = data.getExtras().getParcelable(ServerFoundActivity.KEY_SERVER);
    presenter.onNavigationResult(requestCode, isSuccess, serverModel);
  }

}