// 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.ProgressBar;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.widget.SearchView;
import androidx.appcompat.widget.Toolbar;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.recyclerview.widget.RecyclerView;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.crm.chat.R;
import com.google.android.material.button.MaterialButton;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

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

  @NonNull
  public final MaterialButton doneButton;

  @NonNull
  public final TextView emptyTextView;

  @NonNull
  public final ProgressBar progressBar;

  @NonNull
  public final SearchView searchView;

  @NonNull
  public final Toolbar toolbar;

  @NonNull
  public final RecyclerView usersRecyclerView;

  private ActivityUserSelectionBinding(@NonNull ConstraintLayout rootView,
      @NonNull MaterialButton doneButton, @NonNull TextView emptyTextView,
      @NonNull ProgressBar progressBar, @NonNull SearchView searchView, @NonNull Toolbar toolbar,
      @NonNull RecyclerView usersRecyclerView) {
    this.rootView = rootView;
    this.doneButton = doneButton;
    this.emptyTextView = emptyTextView;
    this.progressBar = progressBar;
    this.searchView = searchView;
    this.toolbar = toolbar;
    this.usersRecyclerView = usersRecyclerView;
  }

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

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

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

  @NonNull
  public static ActivityUserSelectionBinding 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.doneButton;
      MaterialButton doneButton = ViewBindings.findChildViewById(rootView, id);
      if (doneButton == null) {
        break missingId;
      }

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

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

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

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

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

      return new ActivityUserSelectionBinding((ConstraintLayout) rootView, doneButton,
          emptyTextView, progressBar, searchView, toolbar, usersRecyclerView);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
