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

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.ProgressBar;
import android.widget.Spinner;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.core.widget.NestedScrollView;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.example.epl498_labs.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

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

  @NonNull
  public final Button buttonGetWeather;

  @NonNull
  public final TextView cityTxt;

  @NonNull
  public final Spinner dropdownCity;

  @NonNull
  public final ImageView imageView;

  @NonNull
  public final ProgressBar progressBar;

  @NonNull
  public final TextView titleTxt;

  @NonNull
  public final TextView weatherTxt;

  private FragmentApiCallBinding(@NonNull NestedScrollView rootView,
      @NonNull Button buttonGetWeather, @NonNull TextView cityTxt, @NonNull Spinner dropdownCity,
      @NonNull ImageView imageView, @NonNull ProgressBar progressBar, @NonNull TextView titleTxt,
      @NonNull TextView weatherTxt) {
    this.rootView = rootView;
    this.buttonGetWeather = buttonGetWeather;
    this.cityTxt = cityTxt;
    this.dropdownCity = dropdownCity;
    this.imageView = imageView;
    this.progressBar = progressBar;
    this.titleTxt = titleTxt;
    this.weatherTxt = weatherTxt;
  }

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

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

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

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

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

      id = R.id.dropdown_city;
      Spinner dropdownCity = ViewBindings.findChildViewById(rootView, id);
      if (dropdownCity == null) {
        break missingId;
      }

      id = R.id.image_view;
      ImageView imageView = ViewBindings.findChildViewById(rootView, id);
      if (imageView == null) {
        break missingId;
      }

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

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

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

      return new FragmentApiCallBinding((NestedScrollView) rootView, buttonGetWeather, cityTxt,
          dropdownCity, imageView, progressBar, titleTxt, weatherTxt);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
