.
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.cuida.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 com.example.cuida.R;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import com.google.android.material.textfield.TextInputEditText;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
|
||||
public final class ActivityForgotPasswordBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final LinearLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final TextView backToLogin;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText emailEditText;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton resetButton;
|
||||
|
||||
private ActivityForgotPasswordBinding(@NonNull LinearLayout rootView,
|
||||
@NonNull TextView backToLogin, @NonNull TextInputEditText emailEditText,
|
||||
@NonNull MaterialButton resetButton) {
|
||||
this.rootView = rootView;
|
||||
this.backToLogin = backToLogin;
|
||||
this.emailEditText = emailEditText;
|
||||
this.resetButton = resetButton;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public LinearLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityForgotPasswordBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityForgotPasswordBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.activity_forgot_password, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityForgotPasswordBinding 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.back_to_login;
|
||||
TextView backToLogin = ViewBindings.findChildViewById(rootView, id);
|
||||
if (backToLogin == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.email_edit_text;
|
||||
TextInputEditText emailEditText = ViewBindings.findChildViewById(rootView, id);
|
||||
if (emailEditText == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.reset_button;
|
||||
MaterialButton resetButton = ViewBindings.findChildViewById(rootView, id);
|
||||
if (resetButton == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new ActivityForgotPasswordBinding((LinearLayout) rootView, backToLogin, emailEditText,
|
||||
resetButton);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,114 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.cuida.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.ScrollView;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import com.example.cuida.R;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import com.google.android.material.textfield.TextInputEditText;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
|
||||
public final class ActivityLoginBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final ScrollView rootView;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText emailEditText;
|
||||
|
||||
@NonNull
|
||||
public final TextView forgotPasswordLink;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton loginButton;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText passwordEditText;
|
||||
|
||||
@NonNull
|
||||
public final TextView registerLink;
|
||||
|
||||
private ActivityLoginBinding(@NonNull ScrollView rootView,
|
||||
@NonNull TextInputEditText emailEditText, @NonNull TextView forgotPasswordLink,
|
||||
@NonNull MaterialButton loginButton, @NonNull TextInputEditText passwordEditText,
|
||||
@NonNull TextView registerLink) {
|
||||
this.rootView = rootView;
|
||||
this.emailEditText = emailEditText;
|
||||
this.forgotPasswordLink = forgotPasswordLink;
|
||||
this.loginButton = loginButton;
|
||||
this.passwordEditText = passwordEditText;
|
||||
this.registerLink = registerLink;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public ScrollView getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityLoginBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityLoginBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.activity_login, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityLoginBinding 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.email_edit_text;
|
||||
TextInputEditText emailEditText = ViewBindings.findChildViewById(rootView, id);
|
||||
if (emailEditText == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.forgot_password_link;
|
||||
TextView forgotPasswordLink = ViewBindings.findChildViewById(rootView, id);
|
||||
if (forgotPasswordLink == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.login_button;
|
||||
MaterialButton loginButton = ViewBindings.findChildViewById(rootView, id);
|
||||
if (loginButton == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.password_edit_text;
|
||||
TextInputEditText passwordEditText = ViewBindings.findChildViewById(rootView, id);
|
||||
if (passwordEditText == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.register_link;
|
||||
TextView registerLink = ViewBindings.findChildViewById(rootView, id);
|
||||
if (registerLink == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new ActivityLoginBinding((ScrollView) rootView, emailEditText, forgotPasswordLink,
|
||||
loginButton, passwordEditText, registerLink);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.cuida.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.constraintlayout.widget.ConstraintLayout;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import com.example.cuida.R;
|
||||
import com.google.android.material.bottomnavigation.BottomNavigationView;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
|
||||
public final class ActivityMainBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final ConstraintLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final BottomNavigationView navView;
|
||||
|
||||
private ActivityMainBinding(@NonNull ConstraintLayout rootView,
|
||||
@NonNull BottomNavigationView navView) {
|
||||
this.rootView = rootView;
|
||||
this.navView = navView;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public ConstraintLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityMainBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityMainBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.activity_main, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityMainBinding 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.nav_view;
|
||||
BottomNavigationView navView = ViewBindings.findChildViewById(rootView, id);
|
||||
if (navView == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new ActivityMainBinding((ConstraintLayout) rootView, navView);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,135 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.cuida.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.ScrollView;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import com.example.cuida.R;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import com.google.android.material.textfield.TextInputEditText;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
|
||||
public final class ActivityRegisterBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final ScrollView rootView;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText ageEditText;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText emailEditText;
|
||||
|
||||
@NonNull
|
||||
public final TextView loginLink;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText nameEditText;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText passwordEditText;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton registerButton;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText utenteEditText;
|
||||
|
||||
private ActivityRegisterBinding(@NonNull ScrollView rootView,
|
||||
@NonNull TextInputEditText ageEditText, @NonNull TextInputEditText emailEditText,
|
||||
@NonNull TextView loginLink, @NonNull TextInputEditText nameEditText,
|
||||
@NonNull TextInputEditText passwordEditText, @NonNull MaterialButton registerButton,
|
||||
@NonNull TextInputEditText utenteEditText) {
|
||||
this.rootView = rootView;
|
||||
this.ageEditText = ageEditText;
|
||||
this.emailEditText = emailEditText;
|
||||
this.loginLink = loginLink;
|
||||
this.nameEditText = nameEditText;
|
||||
this.passwordEditText = passwordEditText;
|
||||
this.registerButton = registerButton;
|
||||
this.utenteEditText = utenteEditText;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public ScrollView getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityRegisterBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityRegisterBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.activity_register, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityRegisterBinding 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.age_edit_text;
|
||||
TextInputEditText ageEditText = ViewBindings.findChildViewById(rootView, id);
|
||||
if (ageEditText == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.email_edit_text;
|
||||
TextInputEditText emailEditText = ViewBindings.findChildViewById(rootView, id);
|
||||
if (emailEditText == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.login_link;
|
||||
TextView loginLink = ViewBindings.findChildViewById(rootView, id);
|
||||
if (loginLink == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.name_edit_text;
|
||||
TextInputEditText nameEditText = ViewBindings.findChildViewById(rootView, id);
|
||||
if (nameEditText == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.password_edit_text;
|
||||
TextInputEditText passwordEditText = ViewBindings.findChildViewById(rootView, id);
|
||||
if (passwordEditText == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.register_button;
|
||||
MaterialButton registerButton = ViewBindings.findChildViewById(rootView, id);
|
||||
if (registerButton == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.utente_edit_text;
|
||||
TextInputEditText utenteEditText = ViewBindings.findChildViewById(rootView, id);
|
||||
if (utenteEditText == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new ActivityRegisterBinding((ScrollView) rootView, ageEditText, emailEditText,
|
||||
loginLink, nameEditText, passwordEditText, registerButton, utenteEditText);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,134 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.cuida.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.ScrollView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import com.example.cuida.R;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import com.google.android.material.textfield.TextInputEditText;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
|
||||
public final class DialogEditProfileBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final ScrollView rootView;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton buttonCancel;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton buttonSave;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText editAge;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText editEmail;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText editName;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText editPassword;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText editUtente;
|
||||
|
||||
private DialogEditProfileBinding(@NonNull ScrollView rootView,
|
||||
@NonNull MaterialButton buttonCancel, @NonNull MaterialButton buttonSave,
|
||||
@NonNull TextInputEditText editAge, @NonNull TextInputEditText editEmail,
|
||||
@NonNull TextInputEditText editName, @NonNull TextInputEditText editPassword,
|
||||
@NonNull TextInputEditText editUtente) {
|
||||
this.rootView = rootView;
|
||||
this.buttonCancel = buttonCancel;
|
||||
this.buttonSave = buttonSave;
|
||||
this.editAge = editAge;
|
||||
this.editEmail = editEmail;
|
||||
this.editName = editName;
|
||||
this.editPassword = editPassword;
|
||||
this.editUtente = editUtente;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public ScrollView getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogEditProfileBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogEditProfileBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.dialog_edit_profile, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogEditProfileBinding 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_cancel;
|
||||
MaterialButton buttonCancel = ViewBindings.findChildViewById(rootView, id);
|
||||
if (buttonCancel == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.button_save;
|
||||
MaterialButton buttonSave = ViewBindings.findChildViewById(rootView, id);
|
||||
if (buttonSave == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.edit_age;
|
||||
TextInputEditText editAge = ViewBindings.findChildViewById(rootView, id);
|
||||
if (editAge == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.edit_email;
|
||||
TextInputEditText editEmail = ViewBindings.findChildViewById(rootView, id);
|
||||
if (editEmail == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.edit_name;
|
||||
TextInputEditText editName = ViewBindings.findChildViewById(rootView, id);
|
||||
if (editName == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.edit_password;
|
||||
TextInputEditText editPassword = ViewBindings.findChildViewById(rootView, id);
|
||||
if (editPassword == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.edit_utente;
|
||||
TextInputEditText editUtente = ViewBindings.findChildViewById(rootView, id);
|
||||
if (editUtente == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new DialogEditProfileBinding((ScrollView) rootView, buttonCancel, buttonSave, editAge,
|
||||
editEmail, editName, editPassword, editUtente);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.cuida.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.recyclerview.widget.RecyclerView;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import com.example.cuida.R;
|
||||
import com.google.android.material.floatingactionbutton.FloatingActionButton;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
|
||||
public final class FragmentAppointmentsBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final FrameLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final FloatingActionButton fabAddAppointment;
|
||||
|
||||
@NonNull
|
||||
public final RecyclerView recyclerAppointmentsFuture;
|
||||
|
||||
@NonNull
|
||||
public final RecyclerView recyclerAppointmentsPast;
|
||||
|
||||
private FragmentAppointmentsBinding(@NonNull FrameLayout rootView,
|
||||
@NonNull FloatingActionButton fabAddAppointment,
|
||||
@NonNull RecyclerView recyclerAppointmentsFuture,
|
||||
@NonNull RecyclerView recyclerAppointmentsPast) {
|
||||
this.rootView = rootView;
|
||||
this.fabAddAppointment = fabAddAppointment;
|
||||
this.recyclerAppointmentsFuture = recyclerAppointmentsFuture;
|
||||
this.recyclerAppointmentsPast = recyclerAppointmentsPast;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public FrameLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static FragmentAppointmentsBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static FragmentAppointmentsBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.fragment_appointments, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static FragmentAppointmentsBinding 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.fab_add_appointment;
|
||||
FloatingActionButton fabAddAppointment = ViewBindings.findChildViewById(rootView, id);
|
||||
if (fabAddAppointment == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.recycler_appointments_future;
|
||||
RecyclerView recyclerAppointmentsFuture = ViewBindings.findChildViewById(rootView, id);
|
||||
if (recyclerAppointmentsFuture == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.recycler_appointments_past;
|
||||
RecyclerView recyclerAppointmentsPast = ViewBindings.findChildViewById(rootView, id);
|
||||
if (recyclerAppointmentsPast == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new FragmentAppointmentsBinding((FrameLayout) rootView, fabAddAppointment,
|
||||
recyclerAppointmentsFuture, recyclerAppointmentsPast);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,114 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.cuida.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.constraintlayout.widget.ConstraintLayout;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import com.example.cuida.R;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import com.google.android.material.card.MaterialCardView;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
|
||||
public final class FragmentHomeBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final ConstraintLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton buttonBookAppointment;
|
||||
|
||||
@NonNull
|
||||
public final MaterialCardView cardNextMedication;
|
||||
|
||||
@NonNull
|
||||
public final TextView nextMedName;
|
||||
|
||||
@NonNull
|
||||
public final TextView nextMedTime;
|
||||
|
||||
@NonNull
|
||||
public final TextView textGreeting;
|
||||
|
||||
private FragmentHomeBinding(@NonNull ConstraintLayout rootView,
|
||||
@NonNull MaterialButton buttonBookAppointment, @NonNull MaterialCardView cardNextMedication,
|
||||
@NonNull TextView nextMedName, @NonNull TextView nextMedTime,
|
||||
@NonNull TextView textGreeting) {
|
||||
this.rootView = rootView;
|
||||
this.buttonBookAppointment = buttonBookAppointment;
|
||||
this.cardNextMedication = cardNextMedication;
|
||||
this.nextMedName = nextMedName;
|
||||
this.nextMedTime = nextMedTime;
|
||||
this.textGreeting = textGreeting;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public ConstraintLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static FragmentHomeBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static FragmentHomeBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.fragment_home, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static FragmentHomeBinding 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_book_appointment;
|
||||
MaterialButton buttonBookAppointment = ViewBindings.findChildViewById(rootView, id);
|
||||
if (buttonBookAppointment == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.card_next_medication;
|
||||
MaterialCardView cardNextMedication = ViewBindings.findChildViewById(rootView, id);
|
||||
if (cardNextMedication == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.next_med_name;
|
||||
TextView nextMedName = ViewBindings.findChildViewById(rootView, id);
|
||||
if (nextMedName == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.next_med_time;
|
||||
TextView nextMedTime = ViewBindings.findChildViewById(rootView, id);
|
||||
if (nextMedTime == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.text_greeting;
|
||||
TextView textGreeting = ViewBindings.findChildViewById(rootView, id);
|
||||
if (textGreeting == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new FragmentHomeBinding((ConstraintLayout) rootView, buttonBookAppointment,
|
||||
cardNextMedication, nextMedName, nextMedTime, textGreeting);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.cuida.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.LinearLayout;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import com.example.cuida.R;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
|
||||
public final class FragmentMedicationBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final LinearLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final RecyclerView recyclerMedication;
|
||||
|
||||
private FragmentMedicationBinding(@NonNull LinearLayout rootView,
|
||||
@NonNull RecyclerView recyclerMedication) {
|
||||
this.rootView = rootView;
|
||||
this.recyclerMedication = recyclerMedication;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public LinearLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static FragmentMedicationBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static FragmentMedicationBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.fragment_medication, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static FragmentMedicationBinding 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.recycler_medication;
|
||||
RecyclerView recyclerMedication = ViewBindings.findChildViewById(rootView, id);
|
||||
if (recyclerMedication == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new FragmentMedicationBinding((LinearLayout) rootView, recyclerMedication);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.cuida.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 com.example.cuida.R;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
|
||||
public final class FragmentProfileBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final LinearLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton buttonEditProfile;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton buttonLogout;
|
||||
|
||||
@NonNull
|
||||
public final TextView profileAge;
|
||||
|
||||
@NonNull
|
||||
public final TextView profileEmail;
|
||||
|
||||
@NonNull
|
||||
public final TextView profileName;
|
||||
|
||||
@NonNull
|
||||
public final TextView profileUtente;
|
||||
|
||||
private FragmentProfileBinding(@NonNull LinearLayout rootView,
|
||||
@NonNull MaterialButton buttonEditProfile, @NonNull MaterialButton buttonLogout,
|
||||
@NonNull TextView profileAge, @NonNull TextView profileEmail, @NonNull TextView profileName,
|
||||
@NonNull TextView profileUtente) {
|
||||
this.rootView = rootView;
|
||||
this.buttonEditProfile = buttonEditProfile;
|
||||
this.buttonLogout = buttonLogout;
|
||||
this.profileAge = profileAge;
|
||||
this.profileEmail = profileEmail;
|
||||
this.profileName = profileName;
|
||||
this.profileUtente = profileUtente;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public LinearLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static FragmentProfileBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static FragmentProfileBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.fragment_profile, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static FragmentProfileBinding 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_edit_profile;
|
||||
MaterialButton buttonEditProfile = ViewBindings.findChildViewById(rootView, id);
|
||||
if (buttonEditProfile == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.button_logout;
|
||||
MaterialButton buttonLogout = ViewBindings.findChildViewById(rootView, id);
|
||||
if (buttonLogout == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.profile_age;
|
||||
TextView profileAge = ViewBindings.findChildViewById(rootView, id);
|
||||
if (profileAge == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.profile_email;
|
||||
TextView profileEmail = ViewBindings.findChildViewById(rootView, id);
|
||||
if (profileEmail == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.profile_name;
|
||||
TextView profileName = ViewBindings.findChildViewById(rootView, id);
|
||||
if (profileName == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.profile_utente;
|
||||
TextView profileUtente = ViewBindings.findChildViewById(rootView, id);
|
||||
if (profileUtente == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new FragmentProfileBinding((LinearLayout) rootView, buttonEditProfile, buttonLogout,
|
||||
profileAge, profileEmail, profileName, profileUtente);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,93 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.cuida.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.Button;
|
||||
import android.widget.DatePicker;
|
||||
import android.widget.LinearLayout;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import com.example.cuida.R;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
|
||||
public final class FragmentScheduleAppointmentBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final LinearLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final Button btnConfirmAppointment;
|
||||
|
||||
@NonNull
|
||||
public final DatePicker datePicker;
|
||||
|
||||
@NonNull
|
||||
public final RecyclerView recyclerTimeSlots;
|
||||
|
||||
private FragmentScheduleAppointmentBinding(@NonNull LinearLayout rootView,
|
||||
@NonNull Button btnConfirmAppointment, @NonNull DatePicker datePicker,
|
||||
@NonNull RecyclerView recyclerTimeSlots) {
|
||||
this.rootView = rootView;
|
||||
this.btnConfirmAppointment = btnConfirmAppointment;
|
||||
this.datePicker = datePicker;
|
||||
this.recyclerTimeSlots = recyclerTimeSlots;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public LinearLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static FragmentScheduleAppointmentBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static FragmentScheduleAppointmentBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.fragment_schedule_appointment, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static FragmentScheduleAppointmentBinding 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.btn_confirm_appointment;
|
||||
Button btnConfirmAppointment = ViewBindings.findChildViewById(rootView, id);
|
||||
if (btnConfirmAppointment == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.datePicker;
|
||||
DatePicker datePicker = ViewBindings.findChildViewById(rootView, id);
|
||||
if (datePicker == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.recycler_time_slots;
|
||||
RecyclerView recyclerTimeSlots = ViewBindings.findChildViewById(rootView, id);
|
||||
if (recyclerTimeSlots == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new FragmentScheduleAppointmentBinding((LinearLayout) rootView, btnConfirmAppointment,
|
||||
datePicker, recyclerTimeSlots);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,125 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.cuida.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.Button;
|
||||
import android.widget.CheckBox;
|
||||
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 com.example.cuida.R;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
|
||||
public final class FragmentSns24Binding implements ViewBinding {
|
||||
@NonNull
|
||||
private final LinearLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton buttonCallSns;
|
||||
|
||||
@NonNull
|
||||
public final Button buttonTriage;
|
||||
|
||||
@NonNull
|
||||
public final CheckBox checkBreath;
|
||||
|
||||
@NonNull
|
||||
public final CheckBox checkFever;
|
||||
|
||||
@NonNull
|
||||
public final CheckBox checkPain;
|
||||
|
||||
@NonNull
|
||||
public final TextView textTriageResult;
|
||||
|
||||
private FragmentSns24Binding(@NonNull LinearLayout rootView,
|
||||
@NonNull MaterialButton buttonCallSns, @NonNull Button buttonTriage,
|
||||
@NonNull CheckBox checkBreath, @NonNull CheckBox checkFever, @NonNull CheckBox checkPain,
|
||||
@NonNull TextView textTriageResult) {
|
||||
this.rootView = rootView;
|
||||
this.buttonCallSns = buttonCallSns;
|
||||
this.buttonTriage = buttonTriage;
|
||||
this.checkBreath = checkBreath;
|
||||
this.checkFever = checkFever;
|
||||
this.checkPain = checkPain;
|
||||
this.textTriageResult = textTriageResult;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public LinearLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static FragmentSns24Binding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static FragmentSns24Binding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.fragment_sns24, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static FragmentSns24Binding 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_call_sns;
|
||||
MaterialButton buttonCallSns = ViewBindings.findChildViewById(rootView, id);
|
||||
if (buttonCallSns == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.button_triage;
|
||||
Button buttonTriage = ViewBindings.findChildViewById(rootView, id);
|
||||
if (buttonTriage == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.check_breath;
|
||||
CheckBox checkBreath = ViewBindings.findChildViewById(rootView, id);
|
||||
if (checkBreath == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.check_fever;
|
||||
CheckBox checkFever = ViewBindings.findChildViewById(rootView, id);
|
||||
if (checkFever == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.check_pain;
|
||||
CheckBox checkPain = ViewBindings.findChildViewById(rootView, id);
|
||||
if (checkPain == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.text_triage_result;
|
||||
TextView textTriageResult = ViewBindings.findChildViewById(rootView, id);
|
||||
if (textTriageResult == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new FragmentSns24Binding((LinearLayout) rootView, buttonCallSns, buttonTriage,
|
||||
checkBreath, checkFever, checkPain, textTriageResult);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.cuida.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import com.example.cuida.R;
|
||||
import com.google.android.material.card.MaterialCardView;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
|
||||
public final class ItemAppointmentBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final MaterialCardView rootView;
|
||||
|
||||
@NonNull
|
||||
public final TextView textDate;
|
||||
|
||||
@NonNull
|
||||
public final TextView textTime;
|
||||
|
||||
@NonNull
|
||||
public final TextView textType;
|
||||
|
||||
private ItemAppointmentBinding(@NonNull MaterialCardView rootView, @NonNull TextView textDate,
|
||||
@NonNull TextView textTime, @NonNull TextView textType) {
|
||||
this.rootView = rootView;
|
||||
this.textDate = textDate;
|
||||
this.textTime = textTime;
|
||||
this.textType = textType;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public MaterialCardView getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ItemAppointmentBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ItemAppointmentBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.item_appointment, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ItemAppointmentBinding 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.text_date;
|
||||
TextView textDate = ViewBindings.findChildViewById(rootView, id);
|
||||
if (textDate == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.text_time;
|
||||
TextView textTime = ViewBindings.findChildViewById(rootView, id);
|
||||
if (textTime == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.text_type;
|
||||
TextView textType = ViewBindings.findChildViewById(rootView, id);
|
||||
if (textType == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new ItemAppointmentBinding((MaterialCardView) rootView, textDate, textTime, textType);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,112 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.cuida.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.CheckBox;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import com.example.cuida.R;
|
||||
import com.google.android.material.card.MaterialCardView;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
|
||||
public final class ItemMedicationBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final MaterialCardView rootView;
|
||||
|
||||
@NonNull
|
||||
public final CheckBox checkboxTaken;
|
||||
|
||||
@NonNull
|
||||
public final TextView textMedDosage;
|
||||
|
||||
@NonNull
|
||||
public final TextView textMedName;
|
||||
|
||||
@NonNull
|
||||
public final TextView textMedNotes;
|
||||
|
||||
@NonNull
|
||||
public final TextView textMedTime;
|
||||
|
||||
private ItemMedicationBinding(@NonNull MaterialCardView rootView, @NonNull CheckBox checkboxTaken,
|
||||
@NonNull TextView textMedDosage, @NonNull TextView textMedName,
|
||||
@NonNull TextView textMedNotes, @NonNull TextView textMedTime) {
|
||||
this.rootView = rootView;
|
||||
this.checkboxTaken = checkboxTaken;
|
||||
this.textMedDosage = textMedDosage;
|
||||
this.textMedName = textMedName;
|
||||
this.textMedNotes = textMedNotes;
|
||||
this.textMedTime = textMedTime;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public MaterialCardView getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ItemMedicationBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ItemMedicationBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.item_medication, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ItemMedicationBinding 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.checkbox_taken;
|
||||
CheckBox checkboxTaken = ViewBindings.findChildViewById(rootView, id);
|
||||
if (checkboxTaken == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.text_med_dosage;
|
||||
TextView textMedDosage = ViewBindings.findChildViewById(rootView, id);
|
||||
if (textMedDosage == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.text_med_name;
|
||||
TextView textMedName = ViewBindings.findChildViewById(rootView, id);
|
||||
if (textMedName == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.text_med_notes;
|
||||
TextView textMedNotes = ViewBindings.findChildViewById(rootView, id);
|
||||
if (textMedNotes == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.text_med_time;
|
||||
TextView textMedTime = ViewBindings.findChildViewById(rootView, id);
|
||||
if (textMedTime == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new ItemMedicationBinding((MaterialCardView) rootView, checkboxTaken, textMedDosage,
|
||||
textMedName, textMedNotes, textMedTime);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.cuida.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import com.example.cuida.R;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
|
||||
public final class ItemTimeSlotBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final MaterialButton rootView;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton btnTimeSlot;
|
||||
|
||||
private ItemTimeSlotBinding(@NonNull MaterialButton rootView,
|
||||
@NonNull MaterialButton btnTimeSlot) {
|
||||
this.rootView = rootView;
|
||||
this.btnTimeSlot = btnTimeSlot;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public MaterialButton getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ItemTimeSlotBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ItemTimeSlotBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.item_time_slot, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ItemTimeSlotBinding bind(@NonNull View rootView) {
|
||||
if (rootView == null) {
|
||||
throw new NullPointerException("rootView");
|
||||
}
|
||||
|
||||
MaterialButton btnTimeSlot = (MaterialButton) rootView;
|
||||
|
||||
return new ItemTimeSlotBinding((MaterialButton) rootView, btnTimeSlot);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user