// 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.HolidayCalendarEditPresenter;
import com.ustadmobile.lib.db.entities.Holiday;
import java.lang.Deprecated;
import java.lang.Object;

public abstract class ItemHolidayBinding extends ViewDataBinding {
  @NonNull
  public final TextView itemDaterangeLine1Text;

  @NonNull
  public final TextView itemDaterangeLine2Text;

  @NonNull
  public final AppCompatImageView itemDaterangeNewitemicon;

  @NonNull
  public final AppCompatImageView itemDaterangeSecondaryMenuImageview;

  @Bindable
  protected Holiday mHoliday;

  @Bindable
  protected HolidayCalendarEditPresenter mMPresenter;

  protected ItemHolidayBinding(Object _bindingComponent, View _root, int _localFieldCount,
      TextView itemDaterangeLine1Text, TextView itemDaterangeLine2Text,
      AppCompatImageView itemDaterangeNewitemicon,
      AppCompatImageView itemDaterangeSecondaryMenuImageview) {
    super(_bindingComponent, _root, _localFieldCount);
    this.itemDaterangeLine1Text = itemDaterangeLine1Text;
    this.itemDaterangeLine2Text = itemDaterangeLine2Text;
    this.itemDaterangeNewitemicon = itemDaterangeNewitemicon;
    this.itemDaterangeSecondaryMenuImageview = itemDaterangeSecondaryMenuImageview;
  }

  public abstract void setHoliday(@Nullable Holiday holiday);

  @Nullable
  public Holiday getHoliday() {
    return mHoliday;
  }

  public abstract void setMPresenter(@Nullable HolidayCalendarEditPresenter mPresenter);

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

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

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

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