content: package com.airbnb.epoxy;
  
  import androidx.annotation.LayoutRes;
  import androidx.annotation.Nullable;
  import java.lang.CharSequence;
  import java.lang.Number;
  import java.lang.Object;
  import java.lang.Override;
  import java.lang.String;
  
  /**
   * Generated file. Do not modify!
   */
  public class NullOnRecycleViewModel_ extends EpoxyModel<NullOnRecycleView> implements GeneratedModel<NullOnRecycleView>, NullOnRecycleViewModelBuilder {
    private OnModelBoundListener<NullOnRecycleViewModel_, NullOnRecycleView> onModelBoundListener_epoxyGeneratedModel;
  
    private OnModelUnboundListener<NullOnRecycleViewModel_, NullOnRecycleView> onModelUnboundListener_epoxyGeneratedModel;
  
    private OnModelVisibilityStateChangedListener<NullOnRecycleViewModel_, NullOnRecycleView> onModelVisibilityStateChangedListener_epoxyGeneratedModel;
  
    private OnModelVisibilityChangedListener<NullOnRecycleViewModel_, NullOnRecycleView> onModelVisibilityChangedListener_epoxyGeneratedModel;
  
    @Nullable
    private CharSequence title_CharSequence = (CharSequence) null;
  
    @Override
    public void addTo(EpoxyController controller) {
      super.addTo(controller);
      addWithDebugValidation(controller);
    }
  
    @Override
    public void handlePreBind(final EpoxyViewHolder holder, final NullOnRecycleView object,
        final int position) {
      validateStateHasNotChangedSinceAdded("The model was changed between being added to the controller and being bound.", position);
    }
  
    @Override
    public void bind(final NullOnRecycleView object) {
      super.bind(object);
      object.setTitle(title_CharSequence);
    }
  
    @Override
    public void bind(final NullOnRecycleView object, EpoxyModel previousModel) {
      if (!(previousModel instanceof NullOnRecycleViewModel_)) {
        bind(object);
        return;
      }
      NullOnRecycleViewModel_ that = (NullOnRecycleViewModel_) previousModel;
      super.bind(object);
  
      if ((title_CharSequence != null ? !title_CharSequence.equals(that.title_CharSequence) : that.title_CharSequence != null)) {
        object.setTitle(title_CharSequence);
      }
    }
  
    @Override
    public void handlePostBind(final NullOnRecycleView object, int position) {
      if (onModelBoundListener_epoxyGeneratedModel != null) {
        onModelBoundListener_epoxyGeneratedModel.onModelBound(this, object, position);
      }
      validateStateHasNotChangedSinceAdded("The model was changed during the bind call.", position);
    }
  
    /**
     * Register a listener that will be called when this model is bound to a view.
     * <p>
     * The listener will contribute to this model's hashCode state per the {@link
     * com.airbnb.epoxy.EpoxyAttribute.Option#DoNotHash} rules.
     * <p>
     * You may clear the listener by setting a null value, or by calling {@link #reset()}
     */
    public NullOnRecycleViewModel_ onBind(
        OnModelBoundListener<NullOnRecycleViewModel_, NullOnRecycleView> listener) {
      onMutation();
      this.onModelBoundListener_epoxyGeneratedModel = listener;
      return this;
    }
  
    @Override
    public void unbind(NullOnRecycleView object) {
      super.unbind(object);
      if (onModelUnboundListener_epoxyGeneratedModel != null) {
        onModelUnboundListener_epoxyGeneratedModel.onModelUnbound(this, object);
      }
      object.setTitle((CharSequence) null);
    }
  
    /**
     * Register a listener that will be called when this model is unbound from a view.
     * <p>
     * The listener will contribute to this model's hashCode state per the {@link
     * com.airbnb.epoxy.EpoxyAttribute.Option#DoNotHash} rules.
     * <p>
     * You may clear the listener by setting a null value, or by calling {@link #reset()}
     */
    public NullOnRecycleViewModel_ onUnbind(
        OnModelUnboundListener<NullOnRecycleViewModel_, NullOnRecycleView> listener) {
      onMutation();
      this.onModelUnboundListener_epoxyGeneratedModel = listener;
      return this;
    }
  
    @Override
    public void onVisibilityStateChanged(int visibilityState, final NullOnRecycleView object) {
      if (onModelVisibilityStateChangedListener_epoxyGeneratedModel != null) {
        onModelVisibilityStateChangedListener_epoxyGeneratedModel.onVisibilityStateChanged(this, object, visibilityState);
      }
      super.onVisibilityStateChanged(visibilityState, object);
    }
  
    /**
     * Register a listener that will be called when this model visibility state has changed.
     * <p>
     * The listener will contribute to this model's hashCode state per the {@link
     * com.airbnb.epoxy.EpoxyAttribute.Option#DoNotHash} rules.
     */
    public NullOnRecycleViewModel_ onVisibilityStateChanged(
        OnModelVisibilityStateChangedListener<NullOnRecycleViewModel_, NullOnRecycleView> listener) {
      onMutation();
      this.onModelVisibilityStateChangedListener_epoxyGeneratedModel = listener;
      return this;
    }
  
    @Override
    public void onVisibilityChanged(float percentVisibleHeight, float percentVisibleWidth,
        int visibleHeight, int visibleWidth, final NullOnRecycleView object) {
      if (onModelVisibilityChangedListener_epoxyGeneratedModel != null) {
        onModelVisibilityChangedListener_epoxyGeneratedModel.onVisibilityChanged(this, object, percentVisibleHeight, percentVisibleWidth, visibleHeight, visibleWidth);
      }
      super.onVisibilityChanged(percentVisibleHeight, percentVisibleWidth, visibleHeight, visibleWidth, object);
    }
  
    /**
     * Register a listener that will be called when this model visibility has changed.
     * <p>
     * The listener will contribute to this model's hashCode state per the {@link
     * com.airbnb.epoxy.EpoxyAttribute.Option#DoNotHash} rules.
     */
    public NullOnRecycleViewModel_ onVisibilityChanged(
        OnModelVisibilityChangedListener<NullOnRecycleViewModel_, NullOnRecycleView> listener) {
      onMutation();
      this.onModelVisibilityChangedListener_epoxyGeneratedModel = listener;
      return this;
    }
  
    /**
     * <i>Optional</i>: Default value is (CharSequence) null
     *
     * @see NullOnRecycleView#setTitle(CharSequence)
     */
    public NullOnRecycleViewModel_ title(@Nullable CharSequence title) {
      onMutation();
      this.title_CharSequence = title;
      return this;
    }
  
    @Nullable
    public CharSequence title() {
      return title_CharSequence;
    }
  
    @Override
    public NullOnRecycleViewModel_ id(long id) {
      super.id(id);
      return this;
    }
  
    @Override
    public NullOnRecycleViewModel_ id(@Nullable Number... ids) {
      super.id(ids);
      return this;
    }
  
    @Override
    public NullOnRecycleViewModel_ id(long id1, long id2) {
      super.id(id1, id2);
      return this;
    }
  
    @Override
    public NullOnRecycleViewModel_ id(@Nullable CharSequence key) {
      super.id(key);
      return this;
    }
  
    @Override
    public NullOnRecycleViewModel_ id(@Nullable CharSequence key,
        @Nullable CharSequence... otherKeys) {
      super.id(key, otherKeys);
      return this;
    }
  
    @Override
    public NullOnRecycleViewModel_ id(@Nullable CharSequence key, long id) {
      super.id(key, id);
      return this;
    }
  
    @Override
    public NullOnRecycleViewModel_ layout(@LayoutRes int layoutRes) {
      super.layout(layoutRes);
      return this;
    }
  
    @Override
    public NullOnRecycleViewModel_ spanSizeOverride(
        @Nullable EpoxyModel.SpanSizeOverrideCallback spanSizeCallback) {
      super.spanSizeOverride(spanSizeCallback);
      return this;
    }
  
    @Override
    public NullOnRecycleViewModel_ show() {
      super.show();
      return this;
    }
  
    @Override
    public NullOnRecycleViewModel_ show(boolean show) {
      super.show(show);
      return this;
    }
  
    @Override
    public NullOnRecycleViewModel_ hide() {
      super.hide();
      return this;
    }
  
    @Override
    @LayoutRes
    protected int getDefaultLayout() {
      return 1;
    }
  
    @Override
    public NullOnRecycleViewModel_ reset() {
      onModelBoundListener_epoxyGeneratedModel = null;
      onModelUnboundListener_epoxyGeneratedModel = null;
      onModelVisibilityStateChangedListener_epoxyGeneratedModel = null;
      onModelVisibilityChangedListener_epoxyGeneratedModel = null;
      this.title_CharSequence = (CharSequence) null;
      super.reset();
      return this;
    }
  
    @Override
    public boolean equals(Object o) {
      if (o == this) {
        return true;
      }
      if (!(o instanceof NullOnRecycleViewModel_)) {
        return false;
      }
      if (!super.equals(o)) {
        return false;
      }
      NullOnRecycleViewModel_ that = (NullOnRecycleViewModel_) o;
      if (((onModelBoundListener_epoxyGeneratedModel == null) != (that.onModelBoundListener_epoxyGeneratedModel == null))) {
        return false;
      }
      if (((onModelUnboundListener_epoxyGeneratedModel == null) != (that.onModelUnboundListener_epoxyGeneratedModel == null))) {
        return false;
      }
      if (((onModelVisibilityStateChangedListener_epoxyGeneratedModel == null) != (that.onModelVisibilityStateChangedListener_epoxyGeneratedModel == null))) {
        return false;
      }
      if (((onModelVisibilityChangedListener_epoxyGeneratedModel == null) != (that.onModelVisibilityChangedListener_epoxyGeneratedModel == null))) {
        return false;
      }
      if ((title_CharSequence != null ? !title_CharSequence.equals(that.title_CharSequence) : that.title_CharSequence != null)) {
        return false;
      }
      return true;
    }
  
    @Override
    public int hashCode() {
      int _result = super.hashCode();
      _result = 31 * _result + (onModelBoundListener_epoxyGeneratedModel != null ? 1 : 0);
      _result = 31 * _result + (onModelUnboundListener_epoxyGeneratedModel != null ? 1 : 0);
      _result = 31 * _result + (onModelVisibilityStateChangedListener_epoxyGeneratedModel != null ? 1 : 0);
      _result = 31 * _result + (onModelVisibilityChangedListener_epoxyGeneratedModel != null ? 1 : 0);
      _result = 31 * _result + (title_CharSequence != null ? title_CharSequence.hashCode() : 0);
      return _result;
    }
  
    @Override
    public String toString() {
      return "NullOnRecycleViewModel_{" +
          "title_CharSequence=" + title_CharSequence +
          "}" + super.toString();
    }
  
    @Override
    public int getSpanSize(int totalSpanCount, int position, int itemCount) {
      return totalSpanCount;
    }
  }
  