// Generated by view binder compiler. Do not edit!
package com.crm.chat.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.ProgressBar;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.widget.Toolbar;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.recyclerview.widget.RecyclerView;
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.crm.chat.R;
import com.google.android.material.button.MaterialButton;
import com.google.android.material.floatingactionbutton.FloatingActionButton;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class ActivityMainBinding implements ViewBinding {
  @NonNull
  private final ConstraintLayout rootView;

  @NonNull
  public final RecyclerView chatsRecyclerView;

  @NonNull
  public final FloatingActionButton createChatFab;

  @NonNull
  public final ConstraintLayout emptyStateLayout;

  @NonNull
  public final TextView emptyStateTextView;

  @NonNull
  public final ConstraintLayout errorStateLayout;

  @NonNull
  public final TextView errorTextView;

  @NonNull
  public final ProgressBar loadingProgressBar;

  @NonNull
  public final ImageView logoImageView;

  @NonNull
  public final ImageButton menuButton;

  @NonNull
  public final MaterialButton retryButton;

  @NonNull
  public final SwipeRefreshLayout swipeRefreshLayout;

  @NonNull
  public final Toolbar toolbar;

  private ActivityMainBinding(@NonNull ConstraintLayout rootView,
      @NonNull RecyclerView chatsRecyclerView, @NonNull FloatingActionButton createChatFab,
      @NonNull ConstraintLayout emptyStateLayout, @NonNull TextView emptyStateTextView,
      @NonNull ConstraintLayout errorStateLayout, @NonNull TextView errorTextView,
      @NonNull ProgressBar loadingProgressBar, @NonNull ImageView logoImageView,
      @NonNull ImageButton menuButton, @NonNull MaterialButton retryButton,
      @NonNull SwipeRefreshLayout swipeRefreshLayout, @NonNull Toolbar toolbar) {
    this.rootView = rootView;
    this.chatsRecyclerView = chatsRecyclerView;
    this.createChatFab = createChatFab;
    this.emptyStateLayout = emptyStateLayout;
    this.emptyStateTextView = emptyStateTextView;
    this.errorStateLayout = errorStateLayout;
    this.errorTextView = errorTextView;
    this.loadingProgressBar = loadingProgressBar;
    this.logoImageView = logoImageView;
    this.menuButton = menuButton;
    this.retryButton = retryButton;
    this.swipeRefreshLayout = swipeRefreshLayout;
    this.toolbar = toolbar;
  }

  @Override
  @NonNull
  public ConstraintLayout getRoot() {
    return rootView;
  }

  @NonNull
  public static ActivityMainBinding inflate(@NonNull LayoutInflater inflater) {
    return inflate(inflater, null, false);
  }

  @NonNull
  public static ActivityMainBinding inflate(@NonNull LayoutInflater inflater,
      @Nullable ViewGroup parent, boolean attachToParent) {
    View root = inflater.inflate(R.layout.activity_main, parent, false);
    if (attachToParent) {
      parent.addView(root);
    }
    return bind(root);
  }

  @NonNull
  public static ActivityMainBinding bind(@NonNull View rootView) {
    // The body of this method is generated in a way you would not otherwise write.
    // This is done to optimize the compiled bytecode for size and performance.
    int id;
    missingId: {
      id = R.id.chatsRecyclerView;
      RecyclerView chatsRecyclerView = ViewBindings.findChildViewById(rootView, id);
      if (chatsRecyclerView == null) {
        break missingId;
      }

      id = R.id.createChatFab;
      FloatingActionButton createChatFab = ViewBindings.findChildViewById(rootView, id);
      if (createChatFab == null) {
        break missingId;
      }

      id = R.id.emptyStateLayout;
      ConstraintLayout emptyStateLayout = ViewBindings.findChildViewById(rootView, id);
      if (emptyStateLayout == null) {
        break missingId;
      }

      id = R.id.emptyStateTextView;
      TextView emptyStateTextView = ViewBindings.findChildViewById(rootView, id);
      if (emptyStateTextView == null) {
        break missingId;
      }

      id = R.id.errorStateLayout;
      ConstraintLayout errorStateLayout = ViewBindings.findChildViewById(rootView, id);
      if (errorStateLayout == null) {
        break missingId;
      }

      id = R.id.errorTextView;
      TextView errorTextView = ViewBindings.findChildViewById(rootView, id);
      if (errorTextView == null) {
        break missingId;
      }

      id = R.id.loadingProgressBar;
      ProgressBar loadingProgressBar = ViewBindings.findChildViewById(rootView, id);
      if (loadingProgressBar == null) {
        break missingId;
      }

      id = R.id.logoImageView;
      ImageView logoImageView = ViewBindings.findChildViewById(rootView, id);
      if (logoImageView == null) {
        break missingId;
      }

      id = R.id.menuButton;
      ImageButton menuButton = ViewBindings.findChildViewById(rootView, id);
      if (menuButton == null) {
        break missingId;
      }

      id = R.id.retryButton;
      MaterialButton retryButton = ViewBindings.findChildViewById(rootView, id);
      if (retryButton == null) {
        break missingId;
      }

      id = R.id.swipeRefreshLayout;
      SwipeRefreshLayout swipeRefreshLayout = ViewBindings.findChildViewById(rootView, id);
      if (swipeRefreshLayout == null) {
        break missingId;
      }

      id = R.id.toolbar;
      Toolbar toolbar = ViewBindings.findChildViewById(rootView, id);
      if (toolbar == null) {
        break missingId;
      }

      return new ActivityMainBinding((ConstraintLayout) rootView, chatsRecyclerView, createChatFab,
          emptyStateLayout, emptyStateTextView, errorStateLayout, errorTextView, loadingProgressBar,
          logoImageView, menuButton, retryButton, swipeRefreshLayout, toolbar);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
