quero agora marcar as consultas e medicamentos para os apcientes

This commit is contained in:
2026-06-15 14:26:39 +01:00
parent fc006f06de
commit 29de16db0a
55 changed files with 466 additions and 449 deletions

View File

@@ -29,12 +29,17 @@ public final class ItemPacienteBinding implements ViewBinding {
@NonNull
public final TextView textPacienteNome;
@NonNull
public final TextView textPacienteUtente;
private ItemPacienteBinding(@NonNull MaterialCardView rootView, @NonNull ImageView imagePaciente,
@NonNull TextView textPacienteEmail, @NonNull TextView textPacienteNome) {
@NonNull TextView textPacienteEmail, @NonNull TextView textPacienteNome,
@NonNull TextView textPacienteUtente) {
this.rootView = rootView;
this.imagePaciente = imagePaciente;
this.textPacienteEmail = textPacienteEmail;
this.textPacienteNome = textPacienteNome;
this.textPacienteUtente = textPacienteUtente;
}
@Override
@@ -82,8 +87,14 @@ public final class ItemPacienteBinding implements ViewBinding {
break missingId;
}
id = R.id.text_paciente_utente;
TextView textPacienteUtente = ViewBindings.findChildViewById(rootView, id);
if (textPacienteUtente == null) {
break missingId;
}
return new ItemPacienteBinding((MaterialCardView) rootView, imagePaciente, textPacienteEmail,
textPacienteNome);
textPacienteNome, textPacienteUtente);
}
String missingId = rootView.getResources().getResourceName(id);
throw new NullPointerException("Missing required view with ID: ".concat(missingId));