tou a editar o perfil e deixar a pp mais bonita
This commit is contained in:
@@ -0,0 +1,92 @@
|
||||
// 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 DialogChangePasswordBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final LinearLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton buttonCancelPassword;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton buttonSavePassword;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText newPassword;
|
||||
|
||||
private DialogChangePasswordBinding(@NonNull LinearLayout rootView,
|
||||
@NonNull MaterialButton buttonCancelPassword, @NonNull MaterialButton buttonSavePassword,
|
||||
@NonNull TextInputEditText newPassword) {
|
||||
this.rootView = rootView;
|
||||
this.buttonCancelPassword = buttonCancelPassword;
|
||||
this.buttonSavePassword = buttonSavePassword;
|
||||
this.newPassword = newPassword;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public LinearLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogChangePasswordBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogChangePasswordBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.dialog_change_password, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogChangePasswordBinding 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.button_cancel_password;
|
||||
MaterialButton buttonCancelPassword = ViewBindings.findChildViewById(rootView, id);
|
||||
if (buttonCancelPassword == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.button_save_password;
|
||||
MaterialButton buttonSavePassword = ViewBindings.findChildViewById(rootView, id);
|
||||
if (buttonSavePassword == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.new_password;
|
||||
TextInputEditText newPassword = ViewBindings.findChildViewById(rootView, id);
|
||||
if (newPassword == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new DialogChangePasswordBinding((LinearLayout) rootView, buttonCancelPassword,
|
||||
buttonSavePassword, newPassword);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,7 @@ package com.example.cuida.databinding;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.ScrollView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
@@ -23,6 +24,9 @@ public final class DialogEditProfileBinding implements ViewBinding {
|
||||
@NonNull
|
||||
public final MaterialButton buttonCancel;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton buttonChangePassword;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton buttonSave;
|
||||
|
||||
@@ -36,23 +40,24 @@ public final class DialogEditProfileBinding implements ViewBinding {
|
||||
public final TextInputEditText editName;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText editPassword;
|
||||
public final ImageView editProfileImage;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText editUtente;
|
||||
|
||||
private DialogEditProfileBinding(@NonNull ScrollView rootView,
|
||||
@NonNull MaterialButton buttonCancel, @NonNull MaterialButton buttonSave,
|
||||
@NonNull TextInputEditText editAge, @NonNull TextInputEditText editEmail,
|
||||
@NonNull TextInputEditText editName, @NonNull TextInputEditText editPassword,
|
||||
@NonNull TextInputEditText editUtente) {
|
||||
@NonNull MaterialButton buttonCancel, @NonNull MaterialButton buttonChangePassword,
|
||||
@NonNull MaterialButton buttonSave, @NonNull TextInputEditText editAge,
|
||||
@NonNull TextInputEditText editEmail, @NonNull TextInputEditText editName,
|
||||
@NonNull ImageView editProfileImage, @NonNull TextInputEditText editUtente) {
|
||||
this.rootView = rootView;
|
||||
this.buttonCancel = buttonCancel;
|
||||
this.buttonChangePassword = buttonChangePassword;
|
||||
this.buttonSave = buttonSave;
|
||||
this.editAge = editAge;
|
||||
this.editEmail = editEmail;
|
||||
this.editName = editName;
|
||||
this.editPassword = editPassword;
|
||||
this.editProfileImage = editProfileImage;
|
||||
this.editUtente = editUtente;
|
||||
}
|
||||
|
||||
@@ -89,6 +94,12 @@ public final class DialogEditProfileBinding implements ViewBinding {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.button_change_password;
|
||||
MaterialButton buttonChangePassword = ViewBindings.findChildViewById(rootView, id);
|
||||
if (buttonChangePassword == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.button_save;
|
||||
MaterialButton buttonSave = ViewBindings.findChildViewById(rootView, id);
|
||||
if (buttonSave == null) {
|
||||
@@ -113,9 +124,9 @@ public final class DialogEditProfileBinding implements ViewBinding {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.edit_password;
|
||||
TextInputEditText editPassword = ViewBindings.findChildViewById(rootView, id);
|
||||
if (editPassword == null) {
|
||||
id = R.id.edit_profile_image;
|
||||
ImageView editProfileImage = ViewBindings.findChildViewById(rootView, id);
|
||||
if (editProfileImage == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
@@ -125,8 +136,8 @@ public final class DialogEditProfileBinding implements ViewBinding {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new DialogEditProfileBinding((ScrollView) rootView, buttonCancel, buttonSave, editAge,
|
||||
editEmail, editName, editPassword, editUtente);
|
||||
return new DialogEditProfileBinding((ScrollView) rootView, buttonCancel, buttonChangePassword,
|
||||
buttonSave, editAge, editEmail, editName, editProfileImage, editUtente);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
|
||||
@@ -4,6 +4,7 @@ package com.example.cuida.databinding;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
@@ -32,6 +33,9 @@ public final class FragmentProfileBinding implements ViewBinding {
|
||||
@NonNull
|
||||
public final TextView profileEmail;
|
||||
|
||||
@NonNull
|
||||
public final ImageView profileImage;
|
||||
|
||||
@NonNull
|
||||
public final TextView profileName;
|
||||
|
||||
@@ -40,13 +44,14 @@ public final class FragmentProfileBinding implements ViewBinding {
|
||||
|
||||
private FragmentProfileBinding(@NonNull LinearLayout rootView,
|
||||
@NonNull MaterialButton buttonEditProfile, @NonNull MaterialButton buttonLogout,
|
||||
@NonNull TextView profileAge, @NonNull TextView profileEmail, @NonNull TextView profileName,
|
||||
@NonNull TextView profileUtente) {
|
||||
@NonNull TextView profileAge, @NonNull TextView profileEmail, @NonNull ImageView profileImage,
|
||||
@NonNull TextView profileName, @NonNull TextView profileUtente) {
|
||||
this.rootView = rootView;
|
||||
this.buttonEditProfile = buttonEditProfile;
|
||||
this.buttonLogout = buttonLogout;
|
||||
this.profileAge = profileAge;
|
||||
this.profileEmail = profileEmail;
|
||||
this.profileImage = profileImage;
|
||||
this.profileName = profileName;
|
||||
this.profileUtente = profileUtente;
|
||||
}
|
||||
@@ -102,6 +107,12 @@ public final class FragmentProfileBinding implements ViewBinding {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.profile_image;
|
||||
ImageView profileImage = ViewBindings.findChildViewById(rootView, id);
|
||||
if (profileImage == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.profile_name;
|
||||
TextView profileName = ViewBindings.findChildViewById(rootView, id);
|
||||
if (profileName == null) {
|
||||
@@ -115,7 +126,7 @@ public final class FragmentProfileBinding implements ViewBinding {
|
||||
}
|
||||
|
||||
return new FragmentProfileBinding((LinearLayout) rootView, buttonEditProfile, buttonLogout,
|
||||
profileAge, profileEmail, profileName, profileUtente);
|
||||
profileAge, profileEmail, profileImage, profileName, profileUtente);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
|
||||
@@ -13,6 +13,7 @@ import androidx.recyclerview.widget.RecyclerView;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import com.example.cuida.R;
|
||||
import com.google.android.material.textfield.TextInputEditText;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
@@ -27,15 +28,19 @@ public final class FragmentScheduleAppointmentBinding implements ViewBinding {
|
||||
@NonNull
|
||||
public final DatePicker datePicker;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText editReason;
|
||||
|
||||
@NonNull
|
||||
public final RecyclerView recyclerTimeSlots;
|
||||
|
||||
private FragmentScheduleAppointmentBinding(@NonNull LinearLayout rootView,
|
||||
@NonNull Button btnConfirmAppointment, @NonNull DatePicker datePicker,
|
||||
@NonNull RecyclerView recyclerTimeSlots) {
|
||||
@NonNull TextInputEditText editReason, @NonNull RecyclerView recyclerTimeSlots) {
|
||||
this.rootView = rootView;
|
||||
this.btnConfirmAppointment = btnConfirmAppointment;
|
||||
this.datePicker = datePicker;
|
||||
this.editReason = editReason;
|
||||
this.recyclerTimeSlots = recyclerTimeSlots;
|
||||
}
|
||||
|
||||
@@ -78,6 +83,12 @@ public final class FragmentScheduleAppointmentBinding implements ViewBinding {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.edit_reason;
|
||||
TextInputEditText editReason = ViewBindings.findChildViewById(rootView, id);
|
||||
if (editReason == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.recycler_time_slots;
|
||||
RecyclerView recyclerTimeSlots = ViewBindings.findChildViewById(rootView, id);
|
||||
if (recyclerTimeSlots == null) {
|
||||
@@ -85,7 +96,7 @@ public final class FragmentScheduleAppointmentBinding implements ViewBinding {
|
||||
}
|
||||
|
||||
return new FragmentScheduleAppointmentBinding((LinearLayout) rootView, btnConfirmAppointment,
|
||||
datePicker, recyclerTimeSlots);
|
||||
datePicker, editReason, recyclerTimeSlots);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
|
||||
@@ -22,6 +22,9 @@ public final class ItemAppointmentBinding implements ViewBinding {
|
||||
@NonNull
|
||||
public final TextView textDate;
|
||||
|
||||
@NonNull
|
||||
public final TextView textReason;
|
||||
|
||||
@NonNull
|
||||
public final TextView textTime;
|
||||
|
||||
@@ -29,9 +32,10 @@ public final class ItemAppointmentBinding implements ViewBinding {
|
||||
public final TextView textType;
|
||||
|
||||
private ItemAppointmentBinding(@NonNull MaterialCardView rootView, @NonNull TextView textDate,
|
||||
@NonNull TextView textTime, @NonNull TextView textType) {
|
||||
@NonNull TextView textReason, @NonNull TextView textTime, @NonNull TextView textType) {
|
||||
this.rootView = rootView;
|
||||
this.textDate = textDate;
|
||||
this.textReason = textReason;
|
||||
this.textTime = textTime;
|
||||
this.textType = textType;
|
||||
}
|
||||
@@ -69,6 +73,12 @@ public final class ItemAppointmentBinding implements ViewBinding {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.text_reason;
|
||||
TextView textReason = ViewBindings.findChildViewById(rootView, id);
|
||||
if (textReason == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.text_time;
|
||||
TextView textTime = ViewBindings.findChildViewById(rootView, id);
|
||||
if (textTime == null) {
|
||||
@@ -81,7 +91,8 @@ public final class ItemAppointmentBinding implements ViewBinding {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new ItemAppointmentBinding((MaterialCardView) rootView, textDate, textTime, textType);
|
||||
return new ItemAppointmentBinding((MaterialCardView) rootView, textDate, textReason, textTime,
|
||||
textType);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
|
||||
Reference in New Issue
Block a user