// 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.ProgressBar;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.widget.AppCompatImageView;
import androidx.constraintlayout.widget.Barrier;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.databinding.Bindable;
import androidx.databinding.DataBindingUtil;
import androidx.databinding.ViewDataBinding;
import com.toughra.ustadmobile.R;
import com.ustadmobile.door.RepositoryLoadHelper;
import java.lang.Deprecated;
import java.lang.Object;

public abstract class ItemListStatusBinding extends ViewDataBinding {
  @NonNull
  public final Barrier iconBarrier;

  @NonNull
  public final ConstraintLayout itemListStatusCl;

  @NonNull
  public final AppCompatImageView loadingIcon;

  @NonNull
  public final ProgressBar statusProgress;

  @NonNull
  public final TextView statusText;

  @Bindable
  protected RepositoryLoadHelper.RepoLoadStatus mLoadingStatus;

  @Bindable
  protected String mEmptyStateMessage;

  @Bindable
  protected Integer mEmptyStateDrawableId;

  protected ItemListStatusBinding(Object _bindingComponent, View _root, int _localFieldCount,
      Barrier iconBarrier, ConstraintLayout itemListStatusCl, AppCompatImageView loadingIcon,
      ProgressBar statusProgress, TextView statusText) {
    super(_bindingComponent, _root, _localFieldCount);
    this.iconBarrier = iconBarrier;
    this.itemListStatusCl = itemListStatusCl;
    this.loadingIcon = loadingIcon;
    this.statusProgress = statusProgress;
    this.statusText = statusText;
  }

  public abstract void setLoadingStatus(
      @Nullable RepositoryLoadHelper.RepoLoadStatus loadingStatus);

  @Nullable
  public RepositoryLoadHelper.RepoLoadStatus getLoadingStatus() {
    return mLoadingStatus;
  }

  public abstract void setEmptyStateMessage(@Nullable String emptyStateMessage);

  @Nullable
  public String getEmptyStateMessage() {
    return mEmptyStateMessage;
  }

  public abstract void setEmptyStateDrawableId(@Nullable Integer emptyStateDrawableId);

  @Nullable
  public Integer getEmptyStateDrawableId() {
    return mEmptyStateDrawableId;
  }

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

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

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