// Generated by view binder compiler. Do not edit!
package com.howon.lifepass.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.EditText;
import android.widget.RelativeLayout;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.google.android.material.floatingactionbutton.FloatingActionButton;
import com.howon.lifepass.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class ActivityAddNoticeBinding implements ViewBinding {
  @NonNull
  private final RelativeLayout rootView;

  @NonNull
  public final EditText editTextAuthor;

  @NonNull
  public final EditText editTextContent;

  @NonNull
  public final EditText editTextTitle;

  @NonNull
  public final FloatingActionButton fabSubmit;

  private ActivityAddNoticeBinding(@NonNull RelativeLayout rootView,
      @NonNull EditText editTextAuthor, @NonNull EditText editTextContent,
      @NonNull EditText editTextTitle, @NonNull FloatingActionButton fabSubmit) {
    this.rootView = rootView;
    this.editTextAuthor = editTextAuthor;
    this.editTextContent = editTextContent;
    this.editTextTitle = editTextTitle;
    this.fabSubmit = fabSubmit;
  }

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

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

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

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

      id = R.id.edit_text_content;
      EditText editTextContent = ViewBindings.findChildViewById(rootView, id);
      if (editTextContent == null) {
        break missingId;
      }

      id = R.id.edit_text_title;
      EditText editTextTitle = ViewBindings.findChildViewById(rootView, id);
      if (editTextTitle == null) {
        break missingId;
      }

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

      return new ActivityAddNoticeBinding((RelativeLayout) rootView, editTextAuthor,
          editTextContent, editTextTitle, fabSubmit);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
