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

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.viewbinding.ViewBinding;
import com.obdwidgets.R;
import java.lang.NullPointerException;
import java.lang.Override;

public final class WidgetObdBaseBinding implements ViewBinding {
  @NonNull
  private final FrameLayout rootView;

  @NonNull
  public final FrameLayout widgetContainer;

  private WidgetObdBaseBinding(@NonNull FrameLayout rootView,
      @NonNull FrameLayout widgetContainer) {
    this.rootView = rootView;
    this.widgetContainer = widgetContainer;
  }

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

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

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

  @NonNull
  public static WidgetObdBaseBinding bind(@NonNull View rootView) {
    if (rootView == null) {
      throw new NullPointerException("rootView");
    }

    FrameLayout widgetContainer = (FrameLayout) rootView;

    return new WidgetObdBaseBinding((FrameLayout) rootView, widgetContainer);
  }
}
