esta guardar e nao esta a entar no perfil

This commit is contained in:
2026-03-11 12:39:03 +00:00
parent 92f92f514f
commit ffab7621b7
125 changed files with 1011 additions and 629 deletions

View File

@@ -27,15 +27,19 @@ public final class FragmentMedicationBinding implements ViewBinding {
@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 textTitle) {
@NonNull TextView textEmptyMedications, @NonNull TextView textTitle) {
this.rootView = rootView;
this.fabAddMedication = fabAddMedication;
this.recyclerMedication = recyclerMedication;
this.textEmptyMedications = textEmptyMedications;
this.textTitle = textTitle;
}
@@ -78,6 +82,12 @@ public final class FragmentMedicationBinding implements ViewBinding {
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) {
@@ -85,7 +95,7 @@ public final class FragmentMedicationBinding implements ViewBinding {
}
return new FragmentMedicationBinding((ConstraintLayout) rootView, fabAddMedication,
recyclerMedication, textTitle);
recyclerMedication, textEmptyMedications, textTitle);
}
String missingId = rootView.getResources().getResourceName(id);
throw new NullPointerException("Missing required view with ID: ".concat(missingId));

View File

@@ -4,6 +4,7 @@ package com.example.cuida.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;
@@ -34,14 +35,19 @@ public final class FragmentScheduleAppointmentBinding implements ViewBinding {
@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 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
@@ -95,8 +101,14 @@ public final class FragmentScheduleAppointmentBinding implements ViewBinding {
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);
datePicker, editReason, recyclerTimeSlots, spinnerDoctor);
}
String missingId = rootView.getResources().getResourceName(id);
throw new NullPointerException("Missing required view with ID: ".concat(missingId));