falta so o chat

This commit is contained in:
2026-04-23 10:40:33 +01:00
parent 2f3b03fe05
commit 350f0bcdad
143 changed files with 15030 additions and 16015 deletions

View File

@@ -1,104 +0,0 @@
// 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.EditText;
import android.widget.ImageButton;
import android.widget.LinearLayout;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.recyclerview.widget.RecyclerView;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.example.medcuida.pro.R;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;
public final class ActivityChatBinding implements ViewBinding {
@NonNull
private final ConstraintLayout rootView;
@NonNull
public final ImageButton btnEnviar;
@NonNull
public final EditText etMensagemInput;
@NonNull
public final LinearLayout layoutInput;
@NonNull
public final RecyclerView recyclerMensagens;
private ActivityChatBinding(@NonNull ConstraintLayout rootView, @NonNull ImageButton btnEnviar,
@NonNull EditText etMensagemInput, @NonNull LinearLayout layoutInput,
@NonNull RecyclerView recyclerMensagens) {
this.rootView = rootView;
this.btnEnviar = btnEnviar;
this.etMensagemInput = etMensagemInput;
this.layoutInput = layoutInput;
this.recyclerMensagens = recyclerMensagens;
}
@Override
@NonNull
public ConstraintLayout getRoot() {
return rootView;
}
@NonNull
public static ActivityChatBinding inflate(@NonNull LayoutInflater inflater) {
return inflate(inflater, null, false);
}
@NonNull
public static ActivityChatBinding inflate(@NonNull LayoutInflater inflater,
@Nullable ViewGroup parent, boolean attachToParent) {
View root = inflater.inflate(R.layout.activity_chat, parent, false);
if (attachToParent) {
parent.addView(root);
}
return bind(root);
}
@NonNull
public static ActivityChatBinding 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.btn_enviar;
ImageButton btnEnviar = ViewBindings.findChildViewById(rootView, id);
if (btnEnviar == null) {
break missingId;
}
id = R.id.et_mensagem_input;
EditText etMensagemInput = ViewBindings.findChildViewById(rootView, id);
if (etMensagemInput == null) {
break missingId;
}
id = R.id.layout_input;
LinearLayout layoutInput = ViewBindings.findChildViewById(rootView, id);
if (layoutInput == null) {
break missingId;
}
id = R.id.recycler_mensagens;
RecyclerView recyclerMensagens = ViewBindings.findChildViewById(rootView, id);
if (recyclerMensagens == null) {
break missingId;
}
return new ActivityChatBinding((ConstraintLayout) rootView, btnEnviar, etMensagemInput,
layoutInput, recyclerMensagens);
}
String missingId = rootView.getResources().getResourceName(id);
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
}
}

View File

@@ -12,7 +12,6 @@ import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.viewbinding.ViewBinding;
import androidx.viewbinding.ViewBindings;
import com.example.medcuida.pro.R;
import com.google.android.material.button.MaterialButton;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;
@@ -21,9 +20,6 @@ public final class ActivityDetalhePacienteBinding implements ViewBinding {
@NonNull
private final ConstraintLayout rootView;
@NonNull
public final MaterialButton btnChatPaciente;
@NonNull
public final ImageButton btnSairDetalhe;
@@ -46,12 +42,11 @@ public final class ActivityDetalhePacienteBinding implements ViewBinding {
public final TextView tvSexoPaciente;
private ActivityDetalhePacienteBinding(@NonNull ConstraintLayout rootView,
@NonNull MaterialButton btnChatPaciente, @NonNull ImageButton btnSairDetalhe,
@NonNull TextView tvEmailPaciente, @NonNull TextView tvIdadePaciente,
@NonNull TextView tvMedicacaoPaciente, @NonNull TextView tvNomePaciente,
@NonNull TextView tvNumeroUtente, @NonNull TextView tvSexoPaciente) {
@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;
@@ -88,12 +83,6 @@ public final class ActivityDetalhePacienteBinding implements ViewBinding {
// This is done to optimize the compiled bytecode for size and performance.
int id;
missingId: {
id = R.id.btn_chat_paciente;
MaterialButton btnChatPaciente = ViewBindings.findChildViewById(rootView, id);
if (btnChatPaciente == null) {
break missingId;
}
id = R.id.btn_sair_detalhe;
ImageButton btnSairDetalhe = ViewBindings.findChildViewById(rootView, id);
if (btnSairDetalhe == null) {
@@ -136,9 +125,9 @@ public final class ActivityDetalhePacienteBinding implements ViewBinding {
break missingId;
}
return new ActivityDetalhePacienteBinding((ConstraintLayout) rootView, btnChatPaciente,
btnSairDetalhe, tvEmailPaciente, tvIdadePaciente, tvMedicacaoPaciente, tvNomePaciente,
tvNumeroUtente, tvSexoPaciente);
return new ActivityDetalhePacienteBinding((ConstraintLayout) rootView, 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

@@ -1,101 +0,0 @@
// 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.LinearLayout;
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 java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;
public final class ItemMensagemBinding implements ViewBinding {
@NonNull
private final LinearLayout rootView;
@NonNull
public final LinearLayout layoutMsgEnviada;
@NonNull
public final LinearLayout layoutMsgRecebida;
@NonNull
public final TextView tvMsgEnviada;
@NonNull
public final TextView tvMsgRecebida;
private ItemMensagemBinding(@NonNull LinearLayout rootView,
@NonNull LinearLayout layoutMsgEnviada, @NonNull LinearLayout layoutMsgRecebida,
@NonNull TextView tvMsgEnviada, @NonNull TextView tvMsgRecebida) {
this.rootView = rootView;
this.layoutMsgEnviada = layoutMsgEnviada;
this.layoutMsgRecebida = layoutMsgRecebida;
this.tvMsgEnviada = tvMsgEnviada;
this.tvMsgRecebida = tvMsgRecebida;
}
@Override
@NonNull
public LinearLayout getRoot() {
return rootView;
}
@NonNull
public static ItemMensagemBinding inflate(@NonNull LayoutInflater inflater) {
return inflate(inflater, null, false);
}
@NonNull
public static ItemMensagemBinding inflate(@NonNull LayoutInflater inflater,
@Nullable ViewGroup parent, boolean attachToParent) {
View root = inflater.inflate(R.layout.item_mensagem, parent, false);
if (attachToParent) {
parent.addView(root);
}
return bind(root);
}
@NonNull
public static ItemMensagemBinding 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.layout_msg_enviada;
LinearLayout layoutMsgEnviada = ViewBindings.findChildViewById(rootView, id);
if (layoutMsgEnviada == null) {
break missingId;
}
id = R.id.layout_msg_recebida;
LinearLayout layoutMsgRecebida = ViewBindings.findChildViewById(rootView, id);
if (layoutMsgRecebida == null) {
break missingId;
}
id = R.id.tv_msg_enviada;
TextView tvMsgEnviada = ViewBindings.findChildViewById(rootView, id);
if (tvMsgEnviada == null) {
break missingId;
}
id = R.id.tv_msg_recebida;
TextView tvMsgRecebida = ViewBindings.findChildViewById(rootView, id);
if (tvMsgRecebida == null) {
break missingId;
}
return new ItemMensagemBinding((LinearLayout) rootView, layoutMsgEnviada, layoutMsgRecebida,
tvMsgEnviada, tvMsgRecebida);
}
String missingId = rootView.getResources().getResourceName(id);
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
}
}