// Generated by data binding compiler. Do not edit!
package com.toughra.ustadmobile.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.databinding.Bindable;
import androidx.databinding.DataBindingUtil;
import androidx.databinding.ViewDataBinding;
import com.toughra.ustadmobile.R;
import com.ustadmobile.core.controller.ClazzEnrolmentListPresenter;
import com.ustadmobile.lib.db.entities.ClazzEnrolmentWithLeavingReason;
import java.lang.Deprecated;
import java.lang.Object;

public abstract class ItemClazzEnrolmentListBinding extends ViewDataBinding {
  @NonNull
  public final ImageView itemClazzEnrolmentEditEnrolment;

  @NonNull
  public final TextView line1Text;

  @NonNull
  public final TextView line2Text;

  @Bindable
  protected ClazzEnrolmentWithLeavingReason mClazzEnrolment;

  @Bindable
  protected Boolean mIsEditVisible;

  @Bindable
  protected ClazzEnrolmentListPresenter mPresenter;

  protected ItemClazzEnrolmentListBinding(Object _bindingComponent, View _root,
      int _localFieldCount, ImageView itemClazzEnrolmentEditEnrolment, TextView line1Text,
      TextView line2Text) {
    super(_bindingComponent, _root, _localFieldCount);
    this.itemClazzEnrolmentEditEnrolment = itemClazzEnrolmentEditEnrolment;
    this.line1Text = line1Text;
    this.line2Text = line2Text;
  }

  public abstract void setClazzEnrolment(@Nullable ClazzEnrolmentWithLeavingReason clazzEnrolment);

  @Nullable
  public ClazzEnrolmentWithLeavingReason getClazzEnrolment() {
    return mClazzEnrolment;
  }

  public abstract void setIsEditVisible(@Nullable Boolean isEditVisible);

  @Nullable
  public Boolean getIsEditVisible() {
    return mIsEditVisible;
  }

  public abstract void setPresenter(@Nullable ClazzEnrolmentListPresenter presenter);

  @Nullable
  public ClazzEnrolmentListPresenter getPresenter() {
    return mPresenter;
  }

  @NonNull
  public static ItemClazzEnrolmentListBinding inflate(@NonNull LayoutInflater inflater,
      @Nullable ViewGroup root, boolean attachToRoot) {
    return inflate(inflater, root, attachToRoot, DataBindingUtil.getDefaultComponent());
  }

  /**
   * This method receives DataBindingComponent instance as type Object instead of
   * type DataBindingComponent to avoid causing too many compilation errors if
   * compilation fails for another reason.
   * https://issuetracker.google.com/issues/116541301
   * @Deprecated Use DataBindingUtil.inflate(inflater, R.layout.item_clazz_enrolment_list, root, attachToRoot, component)
   */
  @NonNull
  @Deprecated
  public static ItemClazzEnrolmentListBinding inflate(@NonNull LayoutInflater inflater,
      @Nullable ViewGroup root, boolean attachToRoot, @Nullable Object component) {
    return ViewDataBinding.<ItemClazzEnrolmentListBinding>inflateInternal(inflater, R.layout.item_clazz_enrolment_list, root, attachToRoot, component);
  }

  @NonNull
  public static ItemClazzEnrolmentListBinding inflate(@NonNull LayoutInflater inflater) {
    return inflate(inflater, DataBindingUtil.getDefaultComponent());
  }

  /**
   * This method receives DataBindingComponent instance as type Object instead of
   * type DataBindingComponent to avoid causing too many compilation errors if
   * compilation fails for another reason.
   * https://issuetracker.google.com/issues/116541301
   * @Deprecated Use DataBindingUtil.inflate(inflater, R.layout.item_clazz_enrolment_list, null, false, component)
   */
  @NonNull
  @Deprecated
  public static ItemClazzEnrolmentListBinding inflate(@NonNull LayoutInflater inflater,
      @Nullable Object component) {
    return ViewDataBinding.<ItemClazzEnrolmentListBinding>inflateInternal(inflater, R.layout.item_clazz_enrolment_list, null, false, component);
  }

  public static ItemClazzEnrolmentListBinding bind(@NonNull View view) {
    return bind(view, DataBindingUtil.getDefaultComponent());
  }

  /**
   * This method receives DataBindingComponent instance as type Object instead of
   * type DataBindingComponent to avoid causing too many compilation errors if
   * compilation fails for another reason.
   * https://issuetracker.google.com/issues/116541301
   * @Deprecated Use DataBindingUtil.bind(view, component)
   */
  @Deprecated
  public static ItemClazzEnrolmentListBinding bind(@NonNull View view, @Nullable Object component) {
    return (ItemClazzEnrolmentListBinding)bind(component, view, R.layout.item_clazz_enrolment_list);
  }
}
