esta guardar e nao esta a entar no perfil
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user