.
This commit is contained in:
@@ -1,115 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.medcuida.pro.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.CalendarView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import com.example.medcuida.pro.R;
|
||||
import com.google.android.material.bottomnavigation.BottomNavigationView;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
|
||||
public final class ActivityAgendaBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final LinearLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final BottomNavigationView bottomNavigation;
|
||||
|
||||
@NonNull
|
||||
public final CalendarView calendarView;
|
||||
|
||||
@NonNull
|
||||
public final RecyclerView recyclerAgenda;
|
||||
|
||||
@NonNull
|
||||
public final TextView textAgendaInfo;
|
||||
|
||||
@NonNull
|
||||
public final TextView textAgendaVazia;
|
||||
|
||||
private ActivityAgendaBinding(@NonNull LinearLayout rootView,
|
||||
@NonNull BottomNavigationView bottomNavigation, @NonNull CalendarView calendarView,
|
||||
@NonNull RecyclerView recyclerAgenda, @NonNull TextView textAgendaInfo,
|
||||
@NonNull TextView textAgendaVazia) {
|
||||
this.rootView = rootView;
|
||||
this.bottomNavigation = bottomNavigation;
|
||||
this.calendarView = calendarView;
|
||||
this.recyclerAgenda = recyclerAgenda;
|
||||
this.textAgendaInfo = textAgendaInfo;
|
||||
this.textAgendaVazia = textAgendaVazia;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public LinearLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityAgendaBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityAgendaBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.activity_agenda, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityAgendaBinding 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.bottom_navigation;
|
||||
BottomNavigationView bottomNavigation = ViewBindings.findChildViewById(rootView, id);
|
||||
if (bottomNavigation == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.calendarView;
|
||||
CalendarView calendarView = ViewBindings.findChildViewById(rootView, id);
|
||||
if (calendarView == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.recycler_agenda;
|
||||
RecyclerView recyclerAgenda = ViewBindings.findChildViewById(rootView, id);
|
||||
if (recyclerAgenda == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.text_agenda_info;
|
||||
TextView textAgendaInfo = ViewBindings.findChildViewById(rootView, id);
|
||||
if (textAgendaInfo == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.text_agenda_vazia;
|
||||
TextView textAgendaVazia = ViewBindings.findChildViewById(rootView, id);
|
||||
if (textAgendaVazia == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new ActivityAgendaBinding((LinearLayout) rootView, bottomNavigation, calendarView,
|
||||
recyclerAgenda, textAgendaInfo, textAgendaVazia);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -35,7 +35,10 @@ public final class ActivityEditarPerfilBinding implements ViewBinding {
|
||||
public final AutoCompleteTextView editGender;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText editHorario;
|
||||
public final TextInputEditText editHorarioFim;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText editHorarioInicio;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText editName;
|
||||
@@ -46,14 +49,15 @@ public final class ActivityEditarPerfilBinding implements ViewBinding {
|
||||
private ActivityEditarPerfilBinding(@NonNull ScrollView rootView,
|
||||
@NonNull MaterialButton btnGuardarAlteracoes, @NonNull ImageButton btnVoltar,
|
||||
@NonNull TextInputEditText editEmail, @NonNull AutoCompleteTextView editGender,
|
||||
@NonNull TextInputEditText editHorario, @NonNull TextInputEditText editName,
|
||||
@NonNull TextInputEditText editSpecialty) {
|
||||
@NonNull TextInputEditText editHorarioFim, @NonNull TextInputEditText editHorarioInicio,
|
||||
@NonNull TextInputEditText editName, @NonNull TextInputEditText editSpecialty) {
|
||||
this.rootView = rootView;
|
||||
this.btnGuardarAlteracoes = btnGuardarAlteracoes;
|
||||
this.btnVoltar = btnVoltar;
|
||||
this.editEmail = editEmail;
|
||||
this.editGender = editGender;
|
||||
this.editHorario = editHorario;
|
||||
this.editHorarioFim = editHorarioFim;
|
||||
this.editHorarioInicio = editHorarioInicio;
|
||||
this.editName = editName;
|
||||
this.editSpecialty = editSpecialty;
|
||||
}
|
||||
@@ -109,9 +113,15 @@ public final class ActivityEditarPerfilBinding implements ViewBinding {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.edit_horario;
|
||||
TextInputEditText editHorario = ViewBindings.findChildViewById(rootView, id);
|
||||
if (editHorario == null) {
|
||||
id = R.id.edit_horario_fim;
|
||||
TextInputEditText editHorarioFim = ViewBindings.findChildViewById(rootView, id);
|
||||
if (editHorarioFim == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.edit_horario_inicio;
|
||||
TextInputEditText editHorarioInicio = ViewBindings.findChildViewById(rootView, id);
|
||||
if (editHorarioInicio == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
@@ -128,7 +138,7 @@ public final class ActivityEditarPerfilBinding implements ViewBinding {
|
||||
}
|
||||
|
||||
return new ActivityEditarPerfilBinding((ScrollView) rootView, btnGuardarAlteracoes, btnVoltar,
|
||||
editEmail, editGender, editHorario, editName, editSpecialty);
|
||||
editEmail, editGender, editHorarioFim, editHorarioInicio, editName, editSpecialty);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
|
||||
@@ -76,6 +76,9 @@ public final class ActivityMainBinding implements ViewBinding {
|
||||
@NonNull
|
||||
public final TextView tvGreetingMain;
|
||||
|
||||
@NonNull
|
||||
public final TextView tvHorarioPerfil;
|
||||
|
||||
@NonNull
|
||||
public final TextView tvNomeMedico;
|
||||
|
||||
@@ -100,9 +103,9 @@ public final class ActivityMainBinding implements ViewBinding {
|
||||
@NonNull TextView textAgendaInfo, @NonNull TextView textAgendaVazia,
|
||||
@NonNull TextView textEmptyState, @NonNull TextView tvCedula, @NonNull TextView tvEmailMedico,
|
||||
@NonNull TextView tvEspecialidade, @NonNull TextView tvGreetingMain,
|
||||
@NonNull TextView tvNomeMedico, @NonNull LinearLayout viewAceites,
|
||||
@NonNull LinearLayout viewAgenda, @NonNull LinearLayout viewPacientes,
|
||||
@NonNull LinearLayout viewPerfil) {
|
||||
@NonNull TextView tvHorarioPerfil, @NonNull TextView tvNomeMedico,
|
||||
@NonNull LinearLayout viewAceites, @NonNull LinearLayout viewAgenda,
|
||||
@NonNull LinearLayout viewPacientes, @NonNull LinearLayout viewPerfil) {
|
||||
this.rootView = rootView;
|
||||
this.bottomNavigation = bottomNavigation;
|
||||
this.btnEditarDados = btnEditarDados;
|
||||
@@ -121,6 +124,7 @@ public final class ActivityMainBinding implements ViewBinding {
|
||||
this.tvEmailMedico = tvEmailMedico;
|
||||
this.tvEspecialidade = tvEspecialidade;
|
||||
this.tvGreetingMain = tvGreetingMain;
|
||||
this.tvHorarioPerfil = tvHorarioPerfil;
|
||||
this.tvNomeMedico = tvNomeMedico;
|
||||
this.viewAceites = viewAceites;
|
||||
this.viewAgenda = viewAgenda;
|
||||
@@ -257,6 +261,12 @@ public final class ActivityMainBinding implements ViewBinding {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.tv_horario_perfil;
|
||||
TextView tvHorarioPerfil = ViewBindings.findChildViewById(rootView, id);
|
||||
if (tvHorarioPerfil == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.tv_nome_medico;
|
||||
TextView tvNomeMedico = ViewBindings.findChildViewById(rootView, id);
|
||||
if (tvNomeMedico == null) {
|
||||
@@ -290,8 +300,8 @@ public final class ActivityMainBinding implements ViewBinding {
|
||||
return new ActivityMainBinding((RelativeLayout) rootView, bottomNavigation, btnEditarDados,
|
||||
btnLogout, calendarView, container, layTop, recyclerAceites, recyclerAgenda,
|
||||
recyclerConsultas, textAceitesEmpty, textAgendaInfo, textAgendaVazia, textEmptyState,
|
||||
tvCedula, tvEmailMedico, tvEspecialidade, tvGreetingMain, tvNomeMedico, viewAceites,
|
||||
viewAgenda, viewPacientes, viewPerfil);
|
||||
tvCedula, tvEmailMedico, tvEspecialidade, tvGreetingMain, tvHorarioPerfil, tvNomeMedico,
|
||||
viewAceites, viewAgenda, viewPacientes, viewPerfil);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
|
||||
@@ -1,135 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.medcuida.pro.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.medcuida.pro.R;
|
||||
import com.google.android.material.bottomnavigation.BottomNavigationView;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
|
||||
public final class ActivityPerfilMedicoBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final LinearLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final BottomNavigationView bottomNavigation;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton btnEditarDados;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton btnLogout;
|
||||
|
||||
@NonNull
|
||||
public final TextView tvCedula;
|
||||
|
||||
@NonNull
|
||||
public final TextView tvEmailMedico;
|
||||
|
||||
@NonNull
|
||||
public final TextView tvEspecialidade;
|
||||
|
||||
@NonNull
|
||||
public final TextView tvNomeMedico;
|
||||
|
||||
private ActivityPerfilMedicoBinding(@NonNull LinearLayout rootView,
|
||||
@NonNull BottomNavigationView bottomNavigation, @NonNull MaterialButton btnEditarDados,
|
||||
@NonNull MaterialButton btnLogout, @NonNull TextView tvCedula,
|
||||
@NonNull TextView tvEmailMedico, @NonNull TextView tvEspecialidade,
|
||||
@NonNull TextView tvNomeMedico) {
|
||||
this.rootView = rootView;
|
||||
this.bottomNavigation = bottomNavigation;
|
||||
this.btnEditarDados = btnEditarDados;
|
||||
this.btnLogout = btnLogout;
|
||||
this.tvCedula = tvCedula;
|
||||
this.tvEmailMedico = tvEmailMedico;
|
||||
this.tvEspecialidade = tvEspecialidade;
|
||||
this.tvNomeMedico = tvNomeMedico;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public LinearLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityPerfilMedicoBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityPerfilMedicoBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.activity_perfil_medico, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityPerfilMedicoBinding 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.bottom_navigation;
|
||||
BottomNavigationView bottomNavigation = ViewBindings.findChildViewById(rootView, id);
|
||||
if (bottomNavigation == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.btn_editar_dados;
|
||||
MaterialButton btnEditarDados = ViewBindings.findChildViewById(rootView, id);
|
||||
if (btnEditarDados == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.btn_logout;
|
||||
MaterialButton btnLogout = ViewBindings.findChildViewById(rootView, id);
|
||||
if (btnLogout == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.tv_cedula;
|
||||
TextView tvCedula = ViewBindings.findChildViewById(rootView, id);
|
||||
if (tvCedula == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.tv_email_medico;
|
||||
TextView tvEmailMedico = ViewBindings.findChildViewById(rootView, id);
|
||||
if (tvEmailMedico == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.tv_especialidade;
|
||||
TextView tvEspecialidade = ViewBindings.findChildViewById(rootView, id);
|
||||
if (tvEspecialidade == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.tv_nome_medico;
|
||||
TextView tvNomeMedico = ViewBindings.findChildViewById(rootView, id);
|
||||
if (tvNomeMedico == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new ActivityPerfilMedicoBinding((LinearLayout) rootView, bottomNavigation,
|
||||
btnEditarDados, btnLogout, tvCedula, tvEmailMedico, tvEspecialidade, tvNomeMedico);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -22,9 +22,6 @@ public final class ActivityRegisterBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final ScrollView rootView;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText ageEditText;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText emailEditText;
|
||||
|
||||
@@ -44,22 +41,21 @@ public final class ActivityRegisterBinding implements ViewBinding {
|
||||
public final MaterialButton registerButton;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText utenteEditText;
|
||||
public final TextInputEditText specialtyEditText;
|
||||
|
||||
private ActivityRegisterBinding(@NonNull ScrollView rootView,
|
||||
@NonNull TextInputEditText ageEditText, @NonNull TextInputEditText emailEditText,
|
||||
@NonNull AutoCompleteTextView genderAutoComplete, @NonNull TextView loginLink,
|
||||
@NonNull TextInputEditText nameEditText, @NonNull TextInputEditText passwordEditText,
|
||||
@NonNull MaterialButton registerButton, @NonNull TextInputEditText utenteEditText) {
|
||||
@NonNull TextInputEditText emailEditText, @NonNull AutoCompleteTextView genderAutoComplete,
|
||||
@NonNull TextView loginLink, @NonNull TextInputEditText nameEditText,
|
||||
@NonNull TextInputEditText passwordEditText, @NonNull MaterialButton registerButton,
|
||||
@NonNull TextInputEditText specialtyEditText) {
|
||||
this.rootView = rootView;
|
||||
this.ageEditText = ageEditText;
|
||||
this.emailEditText = emailEditText;
|
||||
this.genderAutoComplete = genderAutoComplete;
|
||||
this.loginLink = loginLink;
|
||||
this.nameEditText = nameEditText;
|
||||
this.passwordEditText = passwordEditText;
|
||||
this.registerButton = registerButton;
|
||||
this.utenteEditText = utenteEditText;
|
||||
this.specialtyEditText = specialtyEditText;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -89,12 +85,6 @@ public final class ActivityRegisterBinding implements ViewBinding {
|
||||
// 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) {
|
||||
@@ -131,15 +121,14 @@ public final class ActivityRegisterBinding implements ViewBinding {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.utente_edit_text;
|
||||
TextInputEditText utenteEditText = ViewBindings.findChildViewById(rootView, id);
|
||||
if (utenteEditText == null) {
|
||||
id = R.id.specialty_edit_text;
|
||||
TextInputEditText specialtyEditText = ViewBindings.findChildViewById(rootView, id);
|
||||
if (specialtyEditText == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new ActivityRegisterBinding((ScrollView) rootView, ageEditText, emailEditText,
|
||||
genderAutoComplete, loginLink, nameEditText, passwordEditText, registerButton,
|
||||
utenteEditText);
|
||||
return new ActivityRegisterBinding((ScrollView) rootView, emailEditText, genderAutoComplete,
|
||||
loginLink, nameEditText, passwordEditText, registerButton, specialtyEditText);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
|
||||
@@ -1,137 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.medcuida.pro.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.AutoCompleteTextView;
|
||||
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.medcuida.pro.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 ActivityRegisterMedicoBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final ScrollView rootView;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText emailEditText;
|
||||
|
||||
@NonNull
|
||||
public final AutoCompleteTextView genderAutoComplete;
|
||||
|
||||
@NonNull
|
||||
public final TextView loginLink;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText nameEditText;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText passwordEditText;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton registerButton;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText specialtyEditText;
|
||||
|
||||
private ActivityRegisterMedicoBinding(@NonNull ScrollView rootView,
|
||||
@NonNull TextInputEditText emailEditText, @NonNull AutoCompleteTextView genderAutoComplete,
|
||||
@NonNull TextView loginLink, @NonNull TextInputEditText nameEditText,
|
||||
@NonNull TextInputEditText passwordEditText, @NonNull MaterialButton registerButton,
|
||||
@NonNull TextInputEditText specialtyEditText) {
|
||||
this.rootView = rootView;
|
||||
this.emailEditText = emailEditText;
|
||||
this.genderAutoComplete = genderAutoComplete;
|
||||
this.loginLink = loginLink;
|
||||
this.nameEditText = nameEditText;
|
||||
this.passwordEditText = passwordEditText;
|
||||
this.registerButton = registerButton;
|
||||
this.specialtyEditText = specialtyEditText;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public ScrollView getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityRegisterMedicoBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityRegisterMedicoBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.activity_register_medico, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityRegisterMedicoBinding 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.gender_auto_complete;
|
||||
AutoCompleteTextView genderAutoComplete = ViewBindings.findChildViewById(rootView, id);
|
||||
if (genderAutoComplete == 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.specialty_edit_text;
|
||||
TextInputEditText specialtyEditText = ViewBindings.findChildViewById(rootView, id);
|
||||
if (specialtyEditText == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new ActivityRegisterMedicoBinding((ScrollView) rootView, emailEditText,
|
||||
genderAutoComplete, loginLink, nameEditText, passwordEditText, registerButton,
|
||||
specialtyEditText);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -1,136 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.medcuida.pro.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.RadioButton;
|
||||
import android.widget.RadioGroup;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import com.example.medcuida.pro.R;
|
||||
import com.google.android.material.textfield.TextInputEditText;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
|
||||
public final class DialogAddMedicationBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final LinearLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText editMedName;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText editMedNotes;
|
||||
|
||||
@NonNull
|
||||
public final RadioGroup radioGroupRoute;
|
||||
|
||||
@NonNull
|
||||
public final RadioButton radioInhalatory;
|
||||
|
||||
@NonNull
|
||||
public final RadioButton radioOral;
|
||||
|
||||
@NonNull
|
||||
public final RadioButton radioTopical;
|
||||
|
||||
@NonNull
|
||||
public final TextView textMedTime;
|
||||
|
||||
private DialogAddMedicationBinding(@NonNull LinearLayout rootView,
|
||||
@NonNull TextInputEditText editMedName, @NonNull TextInputEditText editMedNotes,
|
||||
@NonNull RadioGroup radioGroupRoute, @NonNull RadioButton radioInhalatory,
|
||||
@NonNull RadioButton radioOral, @NonNull RadioButton radioTopical,
|
||||
@NonNull TextView textMedTime) {
|
||||
this.rootView = rootView;
|
||||
this.editMedName = editMedName;
|
||||
this.editMedNotes = editMedNotes;
|
||||
this.radioGroupRoute = radioGroupRoute;
|
||||
this.radioInhalatory = radioInhalatory;
|
||||
this.radioOral = radioOral;
|
||||
this.radioTopical = radioTopical;
|
||||
this.textMedTime = textMedTime;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public LinearLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogAddMedicationBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogAddMedicationBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.dialog_add_medication, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogAddMedicationBinding 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.edit_med_name;
|
||||
TextInputEditText editMedName = ViewBindings.findChildViewById(rootView, id);
|
||||
if (editMedName == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.edit_med_notes;
|
||||
TextInputEditText editMedNotes = ViewBindings.findChildViewById(rootView, id);
|
||||
if (editMedNotes == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.radio_group_route;
|
||||
RadioGroup radioGroupRoute = ViewBindings.findChildViewById(rootView, id);
|
||||
if (radioGroupRoute == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.radio_inhalatory;
|
||||
RadioButton radioInhalatory = ViewBindings.findChildViewById(rootView, id);
|
||||
if (radioInhalatory == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.radio_oral;
|
||||
RadioButton radioOral = ViewBindings.findChildViewById(rootView, id);
|
||||
if (radioOral == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.radio_topical;
|
||||
RadioButton radioTopical = ViewBindings.findChildViewById(rootView, id);
|
||||
if (radioTopical == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.text_med_time;
|
||||
TextView textMedTime = ViewBindings.findChildViewById(rootView, id);
|
||||
if (textMedTime == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new DialogAddMedicationBinding((LinearLayout) rootView, editMedName, editMedNotes,
|
||||
radioGroupRoute, radioInhalatory, radioOral, radioTopical, textMedTime);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -1,157 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.medcuida.pro.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.medcuida.pro.R;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import com.google.android.material.imageview.ShapeableImageView;
|
||||
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 buttonChangePassword;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton buttonChangePhoto;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton buttonSave;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText editAge;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText editEmail;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText editName;
|
||||
|
||||
@NonNull
|
||||
public final ShapeableImageView editProfileImage;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText editUtente;
|
||||
|
||||
private DialogEditProfileBinding(@NonNull ScrollView rootView,
|
||||
@NonNull MaterialButton buttonCancel, @NonNull MaterialButton buttonChangePassword,
|
||||
@NonNull MaterialButton buttonChangePhoto, @NonNull MaterialButton buttonSave,
|
||||
@NonNull TextInputEditText editAge, @NonNull TextInputEditText editEmail,
|
||||
@NonNull TextInputEditText editName, @NonNull ShapeableImageView editProfileImage,
|
||||
@NonNull TextInputEditText editUtente) {
|
||||
this.rootView = rootView;
|
||||
this.buttonCancel = buttonCancel;
|
||||
this.buttonChangePassword = buttonChangePassword;
|
||||
this.buttonChangePhoto = buttonChangePhoto;
|
||||
this.buttonSave = buttonSave;
|
||||
this.editAge = editAge;
|
||||
this.editEmail = editEmail;
|
||||
this.editName = editName;
|
||||
this.editProfileImage = editProfileImage;
|
||||
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_change_password;
|
||||
MaterialButton buttonChangePassword = ViewBindings.findChildViewById(rootView, id);
|
||||
if (buttonChangePassword == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.button_change_photo;
|
||||
MaterialButton buttonChangePhoto = ViewBindings.findChildViewById(rootView, id);
|
||||
if (buttonChangePhoto == 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_profile_image;
|
||||
ShapeableImageView editProfileImage = ViewBindings.findChildViewById(rootView, id);
|
||||
if (editProfileImage == 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, buttonChangePassword,
|
||||
buttonChangePhoto, buttonSave, editAge, editEmail, editName, editProfileImage,
|
||||
editUtente);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -1,81 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.medcuida.pro.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.medcuida.pro.R;
|
||||
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 RecyclerView recyclerAppointmentsFuture;
|
||||
|
||||
@NonNull
|
||||
public final RecyclerView recyclerAppointmentsPast;
|
||||
|
||||
private FragmentAppointmentsBinding(@NonNull FrameLayout rootView,
|
||||
@NonNull RecyclerView recyclerAppointmentsFuture,
|
||||
@NonNull RecyclerView recyclerAppointmentsPast) {
|
||||
this.rootView = rootView;
|
||||
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.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, recyclerAppointmentsFuture,
|
||||
recyclerAppointmentsPast);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -1,114 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.medcuida.pro.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.medcuida.pro.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));
|
||||
}
|
||||
}
|
||||
@@ -1,103 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.medcuida.pro.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.recyclerview.widget.RecyclerView;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import com.example.medcuida.pro.R;
|
||||
import com.google.android.material.floatingactionbutton.FloatingActionButton;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
|
||||
public final class FragmentMedicationBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final ConstraintLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final FloatingActionButton fabAddMedication;
|
||||
|
||||
@NonNull
|
||||
public final RecyclerView recyclerMedication;
|
||||
|
||||
@NonNull
|
||||
public final TextView textEmptyMedications;
|
||||
|
||||
@NonNull
|
||||
public final TextView textTitle;
|
||||
|
||||
private FragmentMedicationBinding(@NonNull ConstraintLayout rootView,
|
||||
@NonNull FloatingActionButton fabAddMedication, @NonNull RecyclerView recyclerMedication,
|
||||
@NonNull TextView textEmptyMedications, @NonNull TextView textTitle) {
|
||||
this.rootView = rootView;
|
||||
this.fabAddMedication = fabAddMedication;
|
||||
this.recyclerMedication = recyclerMedication;
|
||||
this.textEmptyMedications = textEmptyMedications;
|
||||
this.textTitle = textTitle;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public ConstraintLayout 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.fab_add_medication;
|
||||
FloatingActionButton fabAddMedication = ViewBindings.findChildViewById(rootView, id);
|
||||
if (fabAddMedication == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.recycler_medication;
|
||||
RecyclerView recyclerMedication = ViewBindings.findChildViewById(rootView, id);
|
||||
if (recyclerMedication == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.text_empty_medications;
|
||||
TextView textEmptyMedications = ViewBindings.findChildViewById(rootView, id);
|
||||
if (textEmptyMedications == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.text_title;
|
||||
TextView textTitle = ViewBindings.findChildViewById(rootView, id);
|
||||
if (textTitle == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new FragmentMedicationBinding((ConstraintLayout) rootView, fabAddMedication,
|
||||
recyclerMedication, textEmptyMedications, textTitle);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -1,135 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.medcuida.pro.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.medcuida.pro.R;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import com.google.android.material.imageview.ShapeableImageView;
|
||||
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 ShapeableImageView profileImage;
|
||||
|
||||
@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 ShapeableImageView profileImage, @NonNull TextView profileName,
|
||||
@NonNull TextView profileUtente) {
|
||||
this.rootView = rootView;
|
||||
this.buttonEditProfile = buttonEditProfile;
|
||||
this.buttonLogout = buttonLogout;
|
||||
this.profileAge = profileAge;
|
||||
this.profileEmail = profileEmail;
|
||||
this.profileImage = profileImage;
|
||||
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_image;
|
||||
ShapeableImageView profileImage = ViewBindings.findChildViewById(rootView, id);
|
||||
if (profileImage == 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, profileImage, profileName, profileUtente);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -1,116 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.medcuida.pro.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.AutoCompleteTextView;
|
||||
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.medcuida.pro.R;
|
||||
import com.google.android.material.textfield.TextInputEditText;
|
||||
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 TextInputEditText editReason;
|
||||
|
||||
@NonNull
|
||||
public final RecyclerView recyclerTimeSlots;
|
||||
|
||||
@NonNull
|
||||
public final AutoCompleteTextView spinnerDoctor;
|
||||
|
||||
private FragmentScheduleAppointmentBinding(@NonNull LinearLayout rootView,
|
||||
@NonNull Button btnConfirmAppointment, @NonNull DatePicker datePicker,
|
||||
@NonNull TextInputEditText editReason, @NonNull RecyclerView recyclerTimeSlots,
|
||||
@NonNull AutoCompleteTextView spinnerDoctor) {
|
||||
this.rootView = rootView;
|
||||
this.btnConfirmAppointment = btnConfirmAppointment;
|
||||
this.datePicker = datePicker;
|
||||
this.editReason = editReason;
|
||||
this.recyclerTimeSlots = recyclerTimeSlots;
|
||||
this.spinnerDoctor = spinnerDoctor;
|
||||
}
|
||||
|
||||
@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.edit_reason;
|
||||
TextInputEditText editReason = ViewBindings.findChildViewById(rootView, id);
|
||||
if (editReason == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.recycler_time_slots;
|
||||
RecyclerView recyclerTimeSlots = ViewBindings.findChildViewById(rootView, id);
|
||||
if (recyclerTimeSlots == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.spinner_doctor;
|
||||
AutoCompleteTextView spinnerDoctor = ViewBindings.findChildViewById(rootView, id);
|
||||
if (spinnerDoctor == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new FragmentScheduleAppointmentBinding((LinearLayout) rootView, btnConfirmAppointment,
|
||||
datePicker, editReason, recyclerTimeSlots, spinnerDoctor);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -1,114 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.medcuida.pro.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.medcuida.pro.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 FragmentSns24Binding implements ViewBinding {
|
||||
@NonNull
|
||||
private final LinearLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton buttonAiTriage;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton buttonCallSns;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton buttonFindHospital;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText inputSymptoms;
|
||||
|
||||
@NonNull
|
||||
public final TextView textAiResult;
|
||||
|
||||
private FragmentSns24Binding(@NonNull LinearLayout rootView,
|
||||
@NonNull MaterialButton buttonAiTriage, @NonNull MaterialButton buttonCallSns,
|
||||
@NonNull MaterialButton buttonFindHospital, @NonNull TextInputEditText inputSymptoms,
|
||||
@NonNull TextView textAiResult) {
|
||||
this.rootView = rootView;
|
||||
this.buttonAiTriage = buttonAiTriage;
|
||||
this.buttonCallSns = buttonCallSns;
|
||||
this.buttonFindHospital = buttonFindHospital;
|
||||
this.inputSymptoms = inputSymptoms;
|
||||
this.textAiResult = textAiResult;
|
||||
}
|
||||
|
||||
@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_ai_triage;
|
||||
MaterialButton buttonAiTriage = ViewBindings.findChildViewById(rootView, id);
|
||||
if (buttonAiTriage == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.button_call_sns;
|
||||
MaterialButton buttonCallSns = ViewBindings.findChildViewById(rootView, id);
|
||||
if (buttonCallSns == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.button_find_hospital;
|
||||
MaterialButton buttonFindHospital = ViewBindings.findChildViewById(rootView, id);
|
||||
if (buttonFindHospital == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.input_symptoms;
|
||||
TextInputEditText inputSymptoms = ViewBindings.findChildViewById(rootView, id);
|
||||
if (inputSymptoms == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.text_ai_result;
|
||||
TextView textAiResult = ViewBindings.findChildViewById(rootView, id);
|
||||
if (textAiResult == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new FragmentSns24Binding((LinearLayout) rootView, buttonAiTriage, buttonCallSns,
|
||||
buttonFindHospital, inputSymptoms, textAiResult);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -1,100 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.medcuida.pro.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.medcuida.pro.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 textReason;
|
||||
|
||||
@NonNull
|
||||
public final TextView textTime;
|
||||
|
||||
@NonNull
|
||||
public final TextView textType;
|
||||
|
||||
private ItemAppointmentBinding(@NonNull MaterialCardView rootView, @NonNull TextView textDate,
|
||||
@NonNull TextView textReason, @NonNull TextView textTime, @NonNull TextView textType) {
|
||||
this.rootView = rootView;
|
||||
this.textDate = textDate;
|
||||
this.textReason = textReason;
|
||||
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_reason;
|
||||
TextView textReason = ViewBindings.findChildViewById(rootView, id);
|
||||
if (textReason == 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, textReason, textTime,
|
||||
textType);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -1,112 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.medcuida.pro.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.medcuida.pro.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));
|
||||
}
|
||||
}
|
||||
@@ -1,59 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.medcuida.pro.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.medcuida.pro.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