// Generated by view binder compiler. Do not edit!
package hanson.xyz.vpnhotspotmod.databinding;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
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 hanson.xyz.vpnhotspotmod.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;

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

  @NonNull
  public final TextView summary;

  @NonNull
  public final TextView title;

  @NonNull
  public final LinearLayout widgetFrame;

  private PreferenceMaterialBinding(@NonNull LinearLayout rootView, @NonNull TextView summary,
      @NonNull TextView title, @NonNull LinearLayout widgetFrame) {
    this.rootView = rootView;
    this.summary = summary;
    this.title = title;
    this.widgetFrame = widgetFrame;
  }

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

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

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

  @NonNull
  public static PreferenceMaterialBinding 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 = android.R.id.summary;
      TextView summary = ViewBindings.findChildViewById(rootView, id);
      if (summary == null) {
        break missingId;
      }

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

      id = android.R.id.widget_frame;
      LinearLayout widgetFrame = ViewBindings.findChildViewById(rootView, id);
      if (widgetFrame == null) {
        break missingId;
      }

      return new PreferenceMaterialBinding((LinearLayout) rootView, summary, title, widgetFrame);
    }
    String missingId = rootView.getResources().getResourceName(id);
    throw new NullPointerException("Missing required view with ID: ".concat(missingId));
  }
}
