// 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.ImageView;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.databinding.Bindable;
import androidx.databinding.DataBindingUtil;
import androidx.databinding.ViewDataBinding;
import com.toughra.ustadmobile.R;
import com.ustadmobile.lib.db.entities.Site;
import java.lang.Deprecated;
import java.lang.Object;

public abstract class ItemSiteBinding extends ViewDataBinding {
  @NonNull
  public final TextView guestLabel;

  @NonNull
  public final ImageView registerAllowIcon;

  @NonNull
  public final TextView registerAllowedText;

  @NonNull
  public final TextView registrationAllowedLabel;

  @NonNull
  public final ImageView siteGuestIcon;

  @NonNull
  public final ImageView siteNameIcon;

  @NonNull
  public final TextView siteNameLabel;

  @NonNull
  public final TextView siteNameText;

  @NonNull
  public final TextView workspaceGuestText;

  @Bindable
  protected Site mSite;

  protected ItemSiteBinding(Object _bindingComponent, View _root, int _localFieldCount,
      TextView guestLabel, ImageView registerAllowIcon, TextView registerAllowedText,
      TextView registrationAllowedLabel, ImageView siteGuestIcon, ImageView siteNameIcon,
      TextView siteNameLabel, TextView siteNameText, TextView workspaceGuestText) {
    super(_bindingComponent, _root, _localFieldCount);
    this.guestLabel = guestLabel;
    this.registerAllowIcon = registerAllowIcon;
    this.registerAllowedText = registerAllowedText;
    this.registrationAllowedLabel = registrationAllowedLabel;
    this.siteGuestIcon = siteGuestIcon;
    this.siteNameIcon = siteNameIcon;
    this.siteNameLabel = siteNameLabel;
    this.siteNameText = siteNameText;
    this.workspaceGuestText = workspaceGuestText;
  }

  public abstract void setSite(@Nullable Site site);

  @Nullable
  public Site getSite() {
    return mSite;
  }

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

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

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