code: public void setComplete(String name) {
          CompleteFragment fragment = CompleteFragment.create(name);
  
          getSupportFragmentManager()
                  .beginTransaction()
                  .replace(R.id.root, fragment)
                  .commit();
      }
docs: Show the complete fragment when an account has been created