nao esta a funcionar o recycler view

This commit is contained in:
2026-04-20 15:00:08 +01:00
parent 02bbafb379
commit c95b3c656e
137 changed files with 2734 additions and 2455 deletions

View File

@@ -4,6 +4,7 @@ package com.example.medcuida.pro.databinding;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageButton;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
@@ -23,6 +24,9 @@ public final class ActivityDetalhePacienteBinding implements ViewBinding {
@NonNull
public final MaterialButton btnChatPaciente;
@NonNull
public final ImageButton btnSairDetalhe;
@NonNull
public final TextView tvEmailPaciente;
@@ -42,12 +46,13 @@ public final class ActivityDetalhePacienteBinding implements ViewBinding {
public final TextView tvSexoPaciente;
private ActivityDetalhePacienteBinding(@NonNull ConstraintLayout rootView,
@NonNull MaterialButton btnChatPaciente, @NonNull TextView tvEmailPaciente,
@NonNull TextView tvIdadePaciente, @NonNull TextView tvMedicacaoPaciente,
@NonNull TextView tvNomePaciente, @NonNull TextView tvNumeroUtente,
@NonNull TextView tvSexoPaciente) {
@NonNull MaterialButton btnChatPaciente, @NonNull ImageButton btnSairDetalhe,
@NonNull TextView tvEmailPaciente, @NonNull TextView tvIdadePaciente,
@NonNull TextView tvMedicacaoPaciente, @NonNull TextView tvNomePaciente,
@NonNull TextView tvNumeroUtente, @NonNull TextView tvSexoPaciente) {
this.rootView = rootView;
this.btnChatPaciente = btnChatPaciente;
this.btnSairDetalhe = btnSairDetalhe;
this.tvEmailPaciente = tvEmailPaciente;
this.tvIdadePaciente = tvIdadePaciente;
this.tvMedicacaoPaciente = tvMedicacaoPaciente;
@@ -89,6 +94,12 @@ public final class ActivityDetalhePacienteBinding implements ViewBinding {
break missingId;
}
id = R.id.btn_sair_detalhe;
ImageButton btnSairDetalhe = ViewBindings.findChildViewById(rootView, id);
if (btnSairDetalhe == null) {
break missingId;
}
id = R.id.tv_email_paciente;
TextView tvEmailPaciente = ViewBindings.findChildViewById(rootView, id);
if (tvEmailPaciente == null) {
@@ -126,8 +137,8 @@ public final class ActivityDetalhePacienteBinding implements ViewBinding {
}
return new ActivityDetalhePacienteBinding((ConstraintLayout) rootView, btnChatPaciente,
tvEmailPaciente, tvIdadePaciente, tvMedicacaoPaciente, tvNomePaciente, tvNumeroUtente,
tvSexoPaciente);
btnSairDetalhe, tvEmailPaciente, tvIdadePaciente, tvMedicacaoPaciente, tvNomePaciente,
tvNumeroUtente, tvSexoPaciente);
}
String missingId = rootView.getResources().getResourceName(id);
throw new NullPointerException("Missing required view with ID: ".concat(missingId));

View File

@@ -0,0 +1,91 @@
// 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.ImageView;
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 ItemPacienteBinding implements ViewBinding {
@NonNull
private final MaterialCardView rootView;
@NonNull
public final ImageView imagePaciente;
@NonNull
public final TextView textPacienteEmail;
@NonNull
public final TextView textPacienteNome;
private ItemPacienteBinding(@NonNull MaterialCardView rootView, @NonNull ImageView imagePaciente,
@NonNull TextView textPacienteEmail, @NonNull TextView textPacienteNome) {
this.rootView = rootView;
this.imagePaciente = imagePaciente;
this.textPacienteEmail = textPacienteEmail;
this.textPacienteNome = textPacienteNome;
}
@Override
@NonNull
public MaterialCardView getRoot() {
return rootView;
}
@NonNull
public static ItemPacienteBinding inflate(@NonNull LayoutInflater inflater) {
return inflate(inflater, null, false);
}
@NonNull
public static ItemPacienteBinding inflate(@NonNull LayoutInflater inflater,
@Nullable ViewGroup parent, boolean attachToParent) {
View root = inflater.inflate(R.layout.item_paciente, parent, false);
if (attachToParent) {
parent.addView(root);
}
return bind(root);
}
@NonNull
public static ItemPacienteBinding 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.image_paciente;
ImageView imagePaciente = ViewBindings.findChildViewById(rootView, id);
if (imagePaciente == null) {
break missingId;
}
id = R.id.text_paciente_email;
TextView textPacienteEmail = ViewBindings.findChildViewById(rootView, id);
if (textPacienteEmail == null) {
break missingId;
}
id = R.id.text_paciente_nome;
TextView textPacienteNome = ViewBindings.findChildViewById(rootView, id);
if (textPacienteNome == null) {
break missingId;
}
return new ItemPacienteBinding((MaterialCardView) rootView, imagePaciente, textPacienteEmail,
textPacienteNome);
}
String missingId = rootView.getResources().getResourceName(id);
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
}
}