// Generated by view binder compiler. Do not edit!
package com.example.wadi.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.example.wadi.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

public final class ActivityWelcomeBinding implements ViewBinding {
  @NonNull
  private final LinearLayout rootView;

  @NonNull
  public final Button btn;

  @NonNull
  public final Button simpleButton;

  @NonNull
  public final TextView tvhobby;

  @NonNull
  public final TextView tvname;

  private ActivityWelcomeBinding(@NonNull LinearLayout rootView, @NonNull Button btn,
      @NonNull Button simpleButton, @NonNull TextView tvhobby, @NonNull TextView tvname) {
    this.rootView = rootView;
    this.btn = btn;
    this.simpleButton = simpleButton;
    this.tvhobby = tvhobby;
    this.tvname = tvname;
  }

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

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

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

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

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

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

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

      return new ActivityWelcomeBinding((LinearLayout) rootView, btn, simpleButton, tvhobby,
          tvname);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
