esta guardar e nao esta a entar no perfil
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package com.example.cuida.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.LinearLayout;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import com.example.cuida.R;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import com.google.android.material.textfield.TextInputEditText;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
|
||||
public final class ActivityResetPasswordBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final LinearLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText confirmNewPasswordEditText;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText newPasswordEditText;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton saveNewPasswordButton;
|
||||
|
||||
private ActivityResetPasswordBinding(@NonNull LinearLayout rootView,
|
||||
@NonNull TextInputEditText confirmNewPasswordEditText,
|
||||
@NonNull TextInputEditText newPasswordEditText,
|
||||
@NonNull MaterialButton saveNewPasswordButton) {
|
||||
this.rootView = rootView;
|
||||
this.confirmNewPasswordEditText = confirmNewPasswordEditText;
|
||||
this.newPasswordEditText = newPasswordEditText;
|
||||
this.saveNewPasswordButton = saveNewPasswordButton;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public LinearLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityResetPasswordBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityResetPasswordBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.activity_reset_password, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityResetPasswordBinding 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.confirm_new_password_edit_text;
|
||||
TextInputEditText confirmNewPasswordEditText = ViewBindings.findChildViewById(rootView, id);
|
||||
if (confirmNewPasswordEditText == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.new_password_edit_text;
|
||||
TextInputEditText newPasswordEditText = ViewBindings.findChildViewById(rootView, id);
|
||||
if (newPasswordEditText == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.save_new_password_button;
|
||||
MaterialButton saveNewPasswordButton = ViewBindings.findChildViewById(rootView, id);
|
||||
if (saveNewPasswordButton == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new ActivityResetPasswordBinding((LinearLayout) rootView, confirmNewPasswordEditText,
|
||||
newPasswordEditText, saveNewPasswordButton);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -13,6 +13,7 @@ import androidx.viewbinding.ViewBindings;
|
||||
import com.example.cuida.R;
|
||||
import com.google.android.material.button.MaterialButton;
|
||||
import com.google.android.material.card.MaterialCardView;
|
||||
import com.google.android.material.imageview.ShapeableImageView;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
@@ -27,6 +28,9 @@ public final class FragmentHomeBinding implements ViewBinding {
|
||||
@NonNull
|
||||
public final MaterialCardView cardNextMedication;
|
||||
|
||||
@NonNull
|
||||
public final ShapeableImageView imageProfileHome;
|
||||
|
||||
@NonNull
|
||||
public final TextView nextMedName;
|
||||
|
||||
@@ -38,11 +42,12 @@ public final class FragmentHomeBinding implements ViewBinding {
|
||||
|
||||
private FragmentHomeBinding(@NonNull ConstraintLayout rootView,
|
||||
@NonNull MaterialButton buttonBookAppointment, @NonNull MaterialCardView cardNextMedication,
|
||||
@NonNull TextView nextMedName, @NonNull TextView nextMedTime,
|
||||
@NonNull TextView textGreeting) {
|
||||
@NonNull ShapeableImageView imageProfileHome, @NonNull TextView nextMedName,
|
||||
@NonNull TextView nextMedTime, @NonNull TextView textGreeting) {
|
||||
this.rootView = rootView;
|
||||
this.buttonBookAppointment = buttonBookAppointment;
|
||||
this.cardNextMedication = cardNextMedication;
|
||||
this.imageProfileHome = imageProfileHome;
|
||||
this.nextMedName = nextMedName;
|
||||
this.nextMedTime = nextMedTime;
|
||||
this.textGreeting = textGreeting;
|
||||
@@ -87,6 +92,12 @@ public final class FragmentHomeBinding implements ViewBinding {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.image_profile_home;
|
||||
ShapeableImageView imageProfileHome = ViewBindings.findChildViewById(rootView, id);
|
||||
if (imageProfileHome == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.next_med_name;
|
||||
TextView nextMedName = ViewBindings.findChildViewById(rootView, id);
|
||||
if (nextMedName == null) {
|
||||
@@ -106,7 +117,7 @@ public final class FragmentHomeBinding implements ViewBinding {
|
||||
}
|
||||
|
||||
return new FragmentHomeBinding((ConstraintLayout) rootView, buttonBookAppointment,
|
||||
cardNextMedication, nextMedName, nextMedTime, textGreeting);
|
||||
cardNextMedication, imageProfileHome, nextMedName, nextMedTime, textGreeting);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
|
||||
Reference in New Issue
Block a user