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

public abstract class ItemSiteTermsEditBinding extends ViewDataBinding {
  @NonNull
  public final TextView itemWorkspacetermsLine1Text;

  @NonNull
  public final TextView itemWorkspacetermsLine2Text;

  @NonNull
  public final AppCompatImageView itemWorkspacetermsSecondaryMenuImageview;

  @Bindable
  protected SiteTermsWithLanguage mSiteTerms;

  @Bindable
  protected SiteEditPresenter mMPresenter;

  protected ItemSiteTermsEditBinding(Object _bindingComponent, View _root, int _localFieldCount,
      TextView itemWorkspacetermsLine1Text, TextView itemWorkspacetermsLine2Text,
      AppCompatImageView itemWorkspacetermsSecondaryMenuImageview) {
    super(_bindingComponent, _root, _localFieldCount);
    this.itemWorkspacetermsLine1Text = itemWorkspacetermsLine1Text;
    this.itemWorkspacetermsLine2Text = itemWorkspacetermsLine2Text;
    this.itemWorkspacetermsSecondaryMenuImageview = itemWorkspacetermsSecondaryMenuImageview;
  }

  public abstract void setSiteTerms(@Nullable SiteTermsWithLanguage siteTerms);

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

  public abstract void setMPresenter(@Nullable SiteEditPresenter mPresenter);

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

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

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

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