// 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.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.widget.AppCompatImageView;
import androidx.constraintlayout.widget.Barrier;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.databinding.Bindable;
import androidx.databinding.DataBindingUtil;
import androidx.databinding.ViewDataBinding;
import com.toughra.ustadmobile.R;
import com.ustadmobile.core.controller.ClazzListItemListener;
import com.ustadmobile.lib.db.entities.ClazzWithListDisplayDetails;
import java.lang.Deprecated;
import java.lang.Object;

public abstract class ItemClazzListCardBinding extends ViewDataBinding {
  @NonNull
  public final Barrier barrierDesc;

  @NonNull
  public final TextView clazzDescriptionTxt;

  @NonNull
  public final AppCompatImageView itemClazzListCardImage;

  @NonNull
  public final TextView itemClazzlistAttendancePercentage;

  @NonNull
  public final AppCompatImageView itemClazzlistAttendanceTrafficlight;

  @NonNull
  public final ConstraintLayout itemClazzlistClazzCl;

  @NonNull
  public final TextView itemClazzlistClazzTitle;

  @NonNull
  public final TextView itemClazzlistNumstudentsText;

  @NonNull
  public final AppCompatImageView itemClazzlistPeopleIcon;

  @Bindable
  protected ClazzWithListDisplayDetails mClazz;

  @Bindable
  protected ClazzListItemListener mItemListener;

  @Bindable
  protected String mTeacherStudentCount;

  protected ItemClazzListCardBinding(Object _bindingComponent, View _root, int _localFieldCount,
      Barrier barrierDesc, TextView clazzDescriptionTxt, AppCompatImageView itemClazzListCardImage,
      TextView itemClazzlistAttendancePercentage,
      AppCompatImageView itemClazzlistAttendanceTrafficlight, ConstraintLayout itemClazzlistClazzCl,
      TextView itemClazzlistClazzTitle, TextView itemClazzlistNumstudentsText,
      AppCompatImageView itemClazzlistPeopleIcon) {
    super(_bindingComponent, _root, _localFieldCount);
    this.barrierDesc = barrierDesc;
    this.clazzDescriptionTxt = clazzDescriptionTxt;
    this.itemClazzListCardImage = itemClazzListCardImage;
    this.itemClazzlistAttendancePercentage = itemClazzlistAttendancePercentage;
    this.itemClazzlistAttendanceTrafficlight = itemClazzlistAttendanceTrafficlight;
    this.itemClazzlistClazzCl = itemClazzlistClazzCl;
    this.itemClazzlistClazzTitle = itemClazzlistClazzTitle;
    this.itemClazzlistNumstudentsText = itemClazzlistNumstudentsText;
    this.itemClazzlistPeopleIcon = itemClazzlistPeopleIcon;
  }

  public abstract void setClazz(@Nullable ClazzWithListDisplayDetails clazz);

  @Nullable
  public ClazzWithListDisplayDetails getClazz() {
    return mClazz;
  }

  public abstract void setItemListener(@Nullable ClazzListItemListener itemListener);

  @Nullable
  public ClazzListItemListener getItemListener() {
    return mItemListener;
  }

  public abstract void setTeacherStudentCount(@Nullable String teacherStudentCount);

  @Nullable
  public String getTeacherStudentCount() {
    return mTeacherStudentCount;
  }

  @NonNull
  public static ItemClazzListCardBinding 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_list_card, root, attachToRoot, component)
   */
  @NonNull
  @Deprecated
  public static ItemClazzListCardBinding inflate(@NonNull LayoutInflater inflater,
      @Nullable ViewGroup root, boolean attachToRoot, @Nullable Object component) {
    return ViewDataBinding.<ItemClazzListCardBinding>inflateInternal(inflater, R.layout.item_clazz_list_card, root, attachToRoot, component);
  }

  @NonNull
  public static ItemClazzListCardBinding 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_list_card, null, false, component)
   */
  @NonNull
  @Deprecated
  public static ItemClazzListCardBinding inflate(@NonNull LayoutInflater inflater,
      @Nullable Object component) {
    return ViewDataBinding.<ItemClazzListCardBinding>inflateInternal(inflater, R.layout.item_clazz_list_card, null, false, component);
  }

  public static ItemClazzListCardBinding 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 ItemClazzListCardBinding bind(@NonNull View view, @Nullable Object component) {
    return (ItemClazzListCardBinding)bind(component, view, R.layout.item_clazz_list_card);
  }
}
