// 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.google.android.material.imageview.ShapeableImageView;
import com.toughra.ustadmobile.R;
import com.ustadmobile.core.controller.ClazzDetailOverviewPresenter;
import com.ustadmobile.lib.db.entities.CourseBlockWithCompleteEntity;
import java.lang.Deprecated;
import java.lang.Object;

public abstract class ItemCourseBlockBinding extends ViewDataBinding {
  @NonNull
  public final TextView itemBlockLine1Text;

  @NonNull
  public final TextView itemBlockLine2Desc;

  @NonNull
  public final AppCompatImageView itemCourseBlockDownload;

  @NonNull
  public final ShapeableImageView itemCourseBlockIcon;

  @Bindable
  protected CourseBlockWithCompleteEntity mBlock;

  @Bindable
  protected ClazzDetailOverviewPresenter mPresenter;

  protected ItemCourseBlockBinding(Object _bindingComponent, View _root, int _localFieldCount,
      TextView itemBlockLine1Text, TextView itemBlockLine2Desc,
      AppCompatImageView itemCourseBlockDownload, ShapeableImageView itemCourseBlockIcon) {
    super(_bindingComponent, _root, _localFieldCount);
    this.itemBlockLine1Text = itemBlockLine1Text;
    this.itemBlockLine2Desc = itemBlockLine2Desc;
    this.itemCourseBlockDownload = itemCourseBlockDownload;
    this.itemCourseBlockIcon = itemCourseBlockIcon;
  }

  public abstract void setBlock(@Nullable CourseBlockWithCompleteEntity block);

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

  public abstract void setPresenter(@Nullable ClazzDetailOverviewPresenter presenter);

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

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

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

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