// 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.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.controller.SiteTermsEditPresenter;
import com.ustadmobile.lib.db.entities.SiteTermsWithLanguage;
import java.lang.Deprecated;
import java.lang.Object;
import org.wordpress.aztec.AztecText;
import org.wordpress.aztec.toolbar.AztecToolbar;

public abstract class FragmentSiteTermsEditBinding extends ViewDataBinding {
  @NonNull
  public final AztecText editor;

  @NonNull
  public final AztecToolbar formattingToolbar;

  @NonNull
  public final ConstraintLayout fragmentWorkspaceTermsEditEditClx;

  @NonNull
  public final TextInputLayout languageselectionTil;

  @Bindable
  protected SiteTermsWithLanguage mSiteTerms;

  @Bindable
  protected boolean mLoading;

  @Bindable
  protected boolean mFieldsEnabled;

  @Bindable
  protected SiteTermsEditPresenter mMPresenter;

  @Bindable
  protected String mLanguageError;

  protected FragmentSiteTermsEditBinding(Object _bindingComponent, View _root, int _localFieldCount,
      AztecText editor, AztecToolbar formattingToolbar,
      ConstraintLayout fragmentWorkspaceTermsEditEditClx, TextInputLayout languageselectionTil) {
    super(_bindingComponent, _root, _localFieldCount);
    this.editor = editor;
    this.formattingToolbar = formattingToolbar;
    this.fragmentWorkspaceTermsEditEditClx = fragmentWorkspaceTermsEditEditClx;
    this.languageselectionTil = languageselectionTil;
  }

  public abstract void setSiteTerms(@Nullable SiteTermsWithLanguage siteTerms);

  @Nullable
  public SiteTermsWithLanguage getSiteTerms() {
    return mSiteTerms;
  }

  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 setMPresenter(@Nullable SiteTermsEditPresenter mPresenter);

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

  public abstract void setLanguageError(@Nullable String languageError);

  @Nullable
  public String getLanguageError() {
    return mLanguageError;
  }

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

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

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