// 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.databinding.Bindable;
import androidx.databinding.DataBindingUtil;
import androidx.databinding.ViewDataBinding;
import com.toughra.ustadmobile.R;
import com.ustadmobile.core.controller.ClazzEdit2Presenter;
import com.ustadmobile.core.util.TreeOneToManyJoinEditListener;
import com.ustadmobile.lib.db.entities.CourseBlockWithEntity;
import java.lang.Deprecated;
import java.lang.Object;

public abstract class ItemCourseBlockEditBinding extends ViewDataBinding {
  @NonNull
  public final AppCompatImageView itemCourseBlockIcon;

  @NonNull
  public final TextView itemCourseBlockLine1Text;

  @NonNull
  public final AppCompatImageView itemCourseBlockMoreOption;

  @NonNull
  public final AppCompatImageView itemCourseBlockReorder;

  @Bindable
  protected CourseBlockWithEntity mBlock;

  @Bindable
  protected ClazzEdit2Presenter mMPresenter;

  @Bindable
  protected TreeOneToManyJoinEditListener<CourseBlockWithEntity> mOneToManyJoinListener;

  protected ItemCourseBlockEditBinding(Object _bindingComponent, View _root, int _localFieldCount,
      AppCompatImageView itemCourseBlockIcon, TextView itemCourseBlockLine1Text,
      AppCompatImageView itemCourseBlockMoreOption, AppCompatImageView itemCourseBlockReorder) {
    super(_bindingComponent, _root, _localFieldCount);
    this.itemCourseBlockIcon = itemCourseBlockIcon;
    this.itemCourseBlockLine1Text = itemCourseBlockLine1Text;
    this.itemCourseBlockMoreOption = itemCourseBlockMoreOption;
    this.itemCourseBlockReorder = itemCourseBlockReorder;
  }

  public abstract void setBlock(@Nullable CourseBlockWithEntity block);

  @Nullable
  public CourseBlockWithEntity getBlock() {
    return mBlock;
  }

  public abstract void setMPresenter(@Nullable ClazzEdit2Presenter mPresenter);

  @Nullable
  public ClazzEdit2Presenter getMPresenter() {
    return mMPresenter;
  }

  public abstract void setOneToManyJoinListener(
      @Nullable TreeOneToManyJoinEditListener<CourseBlockWithEntity> oneToManyJoinListener);

  @Nullable
  public TreeOneToManyJoinEditListener<CourseBlockWithEntity> getOneToManyJoinListener() {
    return mOneToManyJoinListener;
  }

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

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

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