// 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.google.android.material.button.MaterialButton;
import com.toughra.ustadmobile.R;
import com.ustadmobile.core.controller.ErrorReportPresenter;
import com.ustadmobile.lib.db.entities.ErrorReport;
import com.ustadmobile.port.android.view.ErrorReportFragmentEventHandler;
import java.lang.Deprecated;
import java.lang.Object;

public abstract class FragmentErrorReportBinding extends ViewDataBinding {
  @NonNull
  public final MaterialButton copyIncidentIdButton;

  @NonNull
  public final View divider1;

  @NonNull
  public final View divider2;

  @NonNull
  public final TextView errorCodeText;

  @NonNull
  public final TextView errorExplainText;

  @NonNull
  public final ImageView errorImage;

  @NonNull
  public final TextView incidentIdLabel;

  @NonNull
  public final TextView incidentIdText;

  @NonNull
  public final MaterialButton shareIncidentButton;

  @NonNull
  public final MaterialButton takeMeHomeButton;

  @Bindable
  protected ErrorReport mErrorReport;

  @Bindable
  protected ErrorReportPresenter mMPresenter;

  @Bindable
  protected ErrorReportFragmentEventHandler mEventHandler;

  protected FragmentErrorReportBinding(Object _bindingComponent, View _root, int _localFieldCount,
      MaterialButton copyIncidentIdButton, View divider1, View divider2, TextView errorCodeText,
      TextView errorExplainText, ImageView errorImage, TextView incidentIdLabel,
      TextView incidentIdText, MaterialButton shareIncidentButton,
      MaterialButton takeMeHomeButton) {
    super(_bindingComponent, _root, _localFieldCount);
    this.copyIncidentIdButton = copyIncidentIdButton;
    this.divider1 = divider1;
    this.divider2 = divider2;
    this.errorCodeText = errorCodeText;
    this.errorExplainText = errorExplainText;
    this.errorImage = errorImage;
    this.incidentIdLabel = incidentIdLabel;
    this.incidentIdText = incidentIdText;
    this.shareIncidentButton = shareIncidentButton;
    this.takeMeHomeButton = takeMeHomeButton;
  }

  public abstract void setErrorReport(@Nullable ErrorReport errorReport);

  @Nullable
  public ErrorReport getErrorReport() {
    return mErrorReport;
  }

  public abstract void setMPresenter(@Nullable ErrorReportPresenter mPresenter);

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

  public abstract void setEventHandler(@Nullable ErrorReportFragmentEventHandler eventHandler);

  @Nullable
  public ErrorReportFragmentEventHandler getEventHandler() {
    return mEventHandler;
  }

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

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

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