// 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.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.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 com.google.android.material.textfield.TextInputEditText;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

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

  @NonNull
  public final MaterialButton attachButton;

  @NonNull
  public final ConstraintLayout attachmentIndicators;

  @NonNull
  public final ConstraintLayout fileAttachmentIndicator;

  @NonNull
  public final TextView fileAttachmentText;

  @NonNull
  public final ImageButton fileCancelButton;

  @NonNull
  public final ProgressBar loadingProgressBar;

  @NonNull
  public final TextInputEditText messageEditText;

  @NonNull
  public final ConstraintLayout messageInputLayout;

  @NonNull
  public final RecyclerView messagesRecyclerView;

  @NonNull
  public final ImageButton replyCancelButton;

  @NonNull
  public final ConstraintLayout replyIndicator;

  @NonNull
  public final TextView replyMessageText;

  @NonNull
  public final TextView replySenderText;

  @NonNull
  public final FloatingActionButton scrollToBottomFab;

  @NonNull
  public final MaterialButton sendButton;

  @NonNull
  public final Toolbar toolbar;

  private ActivityChatBinding(@NonNull ConstraintLayout rootView,
      @NonNull MaterialButton attachButton, @NonNull ConstraintLayout attachmentIndicators,
      @NonNull ConstraintLayout fileAttachmentIndicator, @NonNull TextView fileAttachmentText,
      @NonNull ImageButton fileCancelButton, @NonNull ProgressBar loadingProgressBar,
      @NonNull TextInputEditText messageEditText, @NonNull ConstraintLayout messageInputLayout,
      @NonNull RecyclerView messagesRecyclerView, @NonNull ImageButton replyCancelButton,
      @NonNull ConstraintLayout replyIndicator, @NonNull TextView replyMessageText,
      @NonNull TextView replySenderText, @NonNull FloatingActionButton scrollToBottomFab,
      @NonNull MaterialButton sendButton, @NonNull Toolbar toolbar) {
    this.rootView = rootView;
    this.attachButton = attachButton;
    this.attachmentIndicators = attachmentIndicators;
    this.fileAttachmentIndicator = fileAttachmentIndicator;
    this.fileAttachmentText = fileAttachmentText;
    this.fileCancelButton = fileCancelButton;
    this.loadingProgressBar = loadingProgressBar;
    this.messageEditText = messageEditText;
    this.messageInputLayout = messageInputLayout;
    this.messagesRecyclerView = messagesRecyclerView;
    this.replyCancelButton = replyCancelButton;
    this.replyIndicator = replyIndicator;
    this.replyMessageText = replyMessageText;
    this.replySenderText = replySenderText;
    this.scrollToBottomFab = scrollToBottomFab;
    this.sendButton = sendButton;
    this.toolbar = toolbar;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      return new ActivityChatBinding((ConstraintLayout) rootView, attachButton,
          attachmentIndicators, fileAttachmentIndicator, fileAttachmentText, fileCancelButton,
          loadingProgressBar, messageEditText, messageInputLayout, messagesRecyclerView,
          replyCancelButton, replyIndicator, replyMessageText, replySenderText, scrollToBottomFab,
          sendButton, toolbar);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
