quero agora marcar as consultas e medicamentos para os apcientes
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user