parent
841854e85a
commit
33b2741273
@ -0,0 +1,119 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package net.micode.notes.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.CheckBox;
|
||||
import android.widget.FrameLayout;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
import net.micode.notes.R;
|
||||
|
||||
public final class NoteItemBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final FrameLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final CheckBox checkbox;
|
||||
|
||||
@NonNull
|
||||
public final ImageView ivAlertIcon;
|
||||
|
||||
@NonNull
|
||||
public final FrameLayout noteItem;
|
||||
|
||||
@NonNull
|
||||
public final TextView tvName;
|
||||
|
||||
@NonNull
|
||||
public final TextView tvTime;
|
||||
|
||||
@NonNull
|
||||
public final TextView tvTitle;
|
||||
|
||||
private NoteItemBinding(@NonNull FrameLayout rootView, @NonNull CheckBox checkbox,
|
||||
@NonNull ImageView ivAlertIcon, @NonNull FrameLayout noteItem, @NonNull TextView tvName,
|
||||
@NonNull TextView tvTime, @NonNull TextView tvTitle) {
|
||||
this.rootView = rootView;
|
||||
this.checkbox = checkbox;
|
||||
this.ivAlertIcon = ivAlertIcon;
|
||||
this.noteItem = noteItem;
|
||||
this.tvName = tvName;
|
||||
this.tvTime = tvTime;
|
||||
this.tvTitle = tvTitle;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public FrameLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static NoteItemBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static NoteItemBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.note_item, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static NoteItemBinding 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 = com.google.android.material.R.id.checkbox;
|
||||
CheckBox checkbox = ViewBindings.findChildViewById(rootView, id);
|
||||
if (checkbox == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.iv_alert_icon;
|
||||
ImageView ivAlertIcon = ViewBindings.findChildViewById(rootView, id);
|
||||
if (ivAlertIcon == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
FrameLayout noteItem = (FrameLayout) rootView;
|
||||
|
||||
id = R.id.tv_name;
|
||||
TextView tvName = ViewBindings.findChildViewById(rootView, id);
|
||||
if (tvName == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.tv_time;
|
||||
TextView tvTime = ViewBindings.findChildViewById(rootView, id);
|
||||
if (tvTime == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.tv_title;
|
||||
TextView tvTitle = ViewBindings.findChildViewById(rootView, id);
|
||||
if (tvTitle == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new NoteItemBinding((FrameLayout) rootView, checkbox, ivAlertIcon, noteItem, tvName,
|
||||
tvTime, tvTitle);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
Loading…
Reference in new issue