// 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 androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.core.widget.NestedScrollView;
import androidx.databinding.Bindable;
import androidx.databinding.DataBindingUtil;
import androidx.databinding.ViewDataBinding;
import com.google.android.material.textfield.TextInputLayout;
import com.toughra.ustadmobile.R;
import com.ustadmobile.core.util.IdOption;
import com.ustadmobile.lib.db.entities.Schedule;
import com.ustadmobile.port.android.view.IdOptionAutoCompleteTextView;
import java.lang.Deprecated;
import java.lang.Object;
import java.util.List;

public abstract class FragmentScheduleEditBinding extends ViewDataBinding {
  @NonNull
  public final ConstraintLayout activityClazzEditEditClx;

  @NonNull
  public final TextInputLayout activityScheduleEditFromTextinputlayout;

  @NonNull
  public final NestedScrollView activityScheduleEditScroll;

  @NonNull
  public final TextInputLayout activityScheduleEditToTextinputlayout;

  @NonNull
  public final IdOptionAutoCompleteTextView fragmentAddScheduleDayText;

  @NonNull
  public final TextInputLayout fragmentAddScheduleDialogDayTextinputlayout;

  @Bindable
  protected Schedule mSchedule;

  @Bindable
  protected boolean mLoading;

  @Bindable
  protected boolean mFieldsEnabled;

  @Bindable
  protected List<IdOption> mDayOptions;

  @Bindable
  protected String mFromTimeError;

  @Bindable
  protected String mToTimeError;

  protected FragmentScheduleEditBinding(Object _bindingComponent, View _root, int _localFieldCount,
      ConstraintLayout activityClazzEditEditClx,
      TextInputLayout activityScheduleEditFromTextinputlayout,
      NestedScrollView activityScheduleEditScroll,
      TextInputLayout activityScheduleEditToTextinputlayout,
      IdOptionAutoCompleteTextView fragmentAddScheduleDayText,
      TextInputLayout fragmentAddScheduleDialogDayTextinputlayout) {
    super(_bindingComponent, _root, _localFieldCount);
    this.activityClazzEditEditClx = activityClazzEditEditClx;
    this.activityScheduleEditFromTextinputlayout = activityScheduleEditFromTextinputlayout;
    this.activityScheduleEditScroll = activityScheduleEditScroll;
    this.activityScheduleEditToTextinputlayout = activityScheduleEditToTextinputlayout;
    this.fragmentAddScheduleDayText = fragmentAddScheduleDayText;
    this.fragmentAddScheduleDialogDayTextinputlayout = fragmentAddScheduleDialogDayTextinputlayout;
  }

  public abstract void setSchedule(@Nullable Schedule schedule);

  @Nullable
  public Schedule getSchedule() {
    return mSchedule;
  }

  public abstract void setLoading(boolean loading);

  public boolean getLoading() {
    return mLoading;
  }

  public abstract void setFieldsEnabled(boolean fieldsEnabled);

  public boolean getFieldsEnabled() {
    return mFieldsEnabled;
  }

  public abstract void setDayOptions(@Nullable List<IdOption> dayOptions);

  @Nullable
  public List<IdOption> getDayOptions() {
    return mDayOptions;
  }

  public abstract void setFromTimeError(@Nullable String fromTimeError);

  @Nullable
  public String getFromTimeError() {
    return mFromTimeError;
  }

  public abstract void setToTimeError(@Nullable String toTimeError);

  @Nullable
  public String getToTimeError() {
    return mToTimeError;
  }

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

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

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