code: @Override
      protected void onFinishInflate() {
          super.onFinishInflate();
  
          // checks the appropriate radio button as requested in the XML file
          if (mCheckedId != -1) {
              mProtectFromCheckedChange = true;
              setCheckedStateForView(mCheckedId, true);
              mProtectFromCheckedChange = false;
              setCheckedId(mCheckedId);
          }
      }
docs: {@inheritDoc}