title: How do I properly initialize a property in Epoxy ModelView when view state saving is enabled?
body: <p>I have following code for the model view.</p>
  
  <p>When I disable <code>saveViewState = true</code> or remove it, <code>checkbox?.isChecked</code> is properly set by epoxy adapter (to true or false, according to <code>isChecked</code> boolean that is passed to the annotated method). But, when I enable it (set <code>saveViewState = true</code>), the <code>checkbox?.isChecked</code> value is always set to false (at least as I see it in the UI, all checkboxes are unchecked).</p>
  
  <p>I've put logs before <code>this.checkbox?.isChecked = isChecked</code> and after, and I saw that the value passed is correct, and checkbox <code>isChecked</code> property is set correctly. What I don't understand is why epoxy overrides all that and sets checkbox to an unchecked state (to false), despite having its property set, for example, to a checked state.
  I've tried to do a <code>requestModelBuild</code> on the epoxy view right after models were built, and with some delay, but it didn't help.</p>
  
  <pre><code>@ModelView(saveViewState = true)
  class RowView: ConstraintLayout {
      constructor(context: Context):
          super(context)
      constructor(context: Context, attributeSet: AttributeSet):
          super(context, attributeSet)
      constructor(context: Context, attributeSet: AttributeSet, styleAttr: Int):
          super(context, attributeSet, styleAttr)
  
      @TextProp
      fun setText(text: CharSequence) {
          this.checkbox?.text = text
      }
  
      @ModelProp
      fun setCheckedState(isChecked: Boolean) {
          this.checkbox?.isChecked = isChecked
      }
  
      @CallbackProp
      fun setOnChangeListener(listener: CompoundButton.OnCheckedChangeListener?) {
          listener?.let { this.checkbox?.setOnCheckedChangeListener(it) }
      }
  }
  </code></pre>
  
  <p>How do I set checkbox state inside epoxy model view when view state is enabled? Does this issue also happens when EditText is used? And why checkbox label is populated correctly (no empty text, the text passed is shown as it should be)?</p>