// Generated by view binder compiler. Do not edit!
package com.streamflix.tv.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.streamflix.tv.R;
import java.lang.NullPointerException;
import java.lang.Override;

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

  @NonNull
  public final FrameLayout detailsFragment;

  private ActivityDetailsBinding(@NonNull FrameLayout rootView,
      @NonNull FrameLayout detailsFragment) {
    this.rootView = rootView;
    this.detailsFragment = detailsFragment;
  }

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

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

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

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

    FrameLayout detailsFragment = (FrameLayout) rootView;

    return new ActivityDetailsBinding((FrameLayout) rootView, detailsFragment);
  }
}
