// Generated by view binder compiler. Do not edit!
package com.mtc.goldenVendor.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.core.widget.NestedScrollView;
import androidx.viewbinding.ViewBinding;
import com.mtc.goldenVendor.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class FragmentLoginBinding implements ViewBinding {
  @NonNull
  private final NestedScrollView rootView;

  @NonNull
  public final Button btnLogin;

  @NonNull
  public final EditText edName;

  @NonNull
  public final EditText edPassword;

  @NonNull
  public final TextView tvForgetPassword;

  private FragmentLoginBinding(@NonNull NestedScrollView rootView, @NonNull Button btnLogin,
      @NonNull EditText edName, @NonNull EditText edPassword, @NonNull TextView tvForgetPassword) {
    this.rootView = rootView;
    this.btnLogin = btnLogin;
    this.edName = edName;
    this.edPassword = edPassword;
    this.tvForgetPassword = tvForgetPassword;
  }

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

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

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

  @NonNull
  public static FragmentLoginBinding 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.btn_login;
      Button btnLogin = rootView.findViewById(id);
      if (btnLogin == null) {
        break missingId;
      }

      id = R.id.ed_name;
      EditText edName = rootView.findViewById(id);
      if (edName == null) {
        break missingId;
      }

      id = R.id.ed_password;
      EditText edPassword = rootView.findViewById(id);
      if (edPassword == null) {
        break missingId;
      }

      id = R.id.tv_forget_password;
      TextView tvForgetPassword = rootView.findViewById(id);
      if (tvForgetPassword == null) {
        break missingId;
      }

      return new FragmentLoginBinding((NestedScrollView) rootView, btnLogin, edName, edPassword,
          tvForgetPassword);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
