This commit is contained in:
2026-02-25 09:43:28 +00:00
parent efb6281c78
commit b83a105c4c
762 changed files with 54838 additions and 25802 deletions

View File

@@ -4,8 +4,9 @@ package com.example.cuida.databinding;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CheckBox;
import android.widget.LinearLayout;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
@@ -21,34 +22,39 @@ public final class DialogAddMedicationBinding implements ViewBinding {
@NonNull
private final LinearLayout rootView;
@NonNull
public final CheckBox checkboxInhalatory;
@NonNull
public final CheckBox checkboxOral;
@NonNull
public final CheckBox checkboxTopical;
@NonNull
public final TextInputEditText editMedName;
@NonNull
public final TextInputEditText editMedNotes;
@NonNull
public final RadioGroup radioGroupRoute;
@NonNull
public final RadioButton radioInhalatory;
@NonNull
public final RadioButton radioOral;
@NonNull
public final RadioButton radioTopical;
@NonNull
public final TextView textMedTime;
private DialogAddMedicationBinding(@NonNull LinearLayout rootView,
@NonNull CheckBox checkboxInhalatory, @NonNull CheckBox checkboxOral,
@NonNull CheckBox checkboxTopical, @NonNull TextInputEditText editMedName,
@NonNull TextInputEditText editMedNotes, @NonNull TextView textMedTime) {
@NonNull TextInputEditText editMedName, @NonNull TextInputEditText editMedNotes,
@NonNull RadioGroup radioGroupRoute, @NonNull RadioButton radioInhalatory,
@NonNull RadioButton radioOral, @NonNull RadioButton radioTopical,
@NonNull TextView textMedTime) {
this.rootView = rootView;
this.checkboxInhalatory = checkboxInhalatory;
this.checkboxOral = checkboxOral;
this.checkboxTopical = checkboxTopical;
this.editMedName = editMedName;
this.editMedNotes = editMedNotes;
this.radioGroupRoute = radioGroupRoute;
this.radioInhalatory = radioInhalatory;
this.radioOral = radioOral;
this.radioTopical = radioTopical;
this.textMedTime = textMedTime;
}
@@ -79,24 +85,6 @@ public final class DialogAddMedicationBinding implements ViewBinding {
// This is done to optimize the compiled bytecode for size and performance.
int id;
missingId: {
id = R.id.checkbox_inhalatory;
CheckBox checkboxInhalatory = ViewBindings.findChildViewById(rootView, id);
if (checkboxInhalatory == null) {
break missingId;
}
id = R.id.checkbox_oral;
CheckBox checkboxOral = ViewBindings.findChildViewById(rootView, id);
if (checkboxOral == null) {
break missingId;
}
id = R.id.checkbox_topical;
CheckBox checkboxTopical = ViewBindings.findChildViewById(rootView, id);
if (checkboxTopical == null) {
break missingId;
}
id = R.id.edit_med_name;
TextInputEditText editMedName = ViewBindings.findChildViewById(rootView, id);
if (editMedName == null) {
@@ -109,14 +97,38 @@ public final class DialogAddMedicationBinding implements ViewBinding {
break missingId;
}
id = R.id.radio_group_route;
RadioGroup radioGroupRoute = ViewBindings.findChildViewById(rootView, id);
if (radioGroupRoute == null) {
break missingId;
}
id = R.id.radio_inhalatory;
RadioButton radioInhalatory = ViewBindings.findChildViewById(rootView, id);
if (radioInhalatory == null) {
break missingId;
}
id = R.id.radio_oral;
RadioButton radioOral = ViewBindings.findChildViewById(rootView, id);
if (radioOral == null) {
break missingId;
}
id = R.id.radio_topical;
RadioButton radioTopical = ViewBindings.findChildViewById(rootView, id);
if (radioTopical == null) {
break missingId;
}
id = R.id.text_med_time;
TextView textMedTime = ViewBindings.findChildViewById(rootView, id);
if (textMedTime == null) {
break missingId;
}
return new DialogAddMedicationBinding((LinearLayout) rootView, checkboxInhalatory,
checkboxOral, checkboxTopical, editMedName, editMedNotes, textMedTime);
return new DialogAddMedicationBinding((LinearLayout) rootView, editMedName, editMedNotes,
radioGroupRoute, radioInhalatory, radioOral, radioTopical, textMedTime);
}
String missingId = rootView.getResources().getResourceName(id);
throw new NullPointerException("Missing required view with ID: ".concat(missingId));

View File

@@ -4,7 +4,6 @@ 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;
@@ -12,6 +11,7 @@ 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.imageview.ShapeableImageView;
import com.google.android.material.textfield.TextInputEditText;
import java.lang.NullPointerException;
import java.lang.Override;
@@ -27,6 +27,9 @@ public final class DialogEditProfileBinding implements ViewBinding {
@NonNull
public final MaterialButton buttonChangePassword;
@NonNull
public final MaterialButton buttonChangePhoto;
@NonNull
public final MaterialButton buttonSave;
@@ -40,19 +43,21 @@ public final class DialogEditProfileBinding implements ViewBinding {
public final TextInputEditText editName;
@NonNull
public final ImageView editProfileImage;
public final ShapeableImageView editProfileImage;
@NonNull
public final TextInputEditText editUtente;
private DialogEditProfileBinding(@NonNull ScrollView rootView,
@NonNull MaterialButton buttonCancel, @NonNull MaterialButton buttonChangePassword,
@NonNull MaterialButton buttonSave, @NonNull TextInputEditText editAge,
@NonNull TextInputEditText editEmail, @NonNull TextInputEditText editName,
@NonNull ImageView editProfileImage, @NonNull TextInputEditText editUtente) {
@NonNull MaterialButton buttonChangePhoto, @NonNull MaterialButton buttonSave,
@NonNull TextInputEditText editAge, @NonNull TextInputEditText editEmail,
@NonNull TextInputEditText editName, @NonNull ShapeableImageView editProfileImage,
@NonNull TextInputEditText editUtente) {
this.rootView = rootView;
this.buttonCancel = buttonCancel;
this.buttonChangePassword = buttonChangePassword;
this.buttonChangePhoto = buttonChangePhoto;
this.buttonSave = buttonSave;
this.editAge = editAge;
this.editEmail = editEmail;
@@ -100,6 +105,12 @@ public final class DialogEditProfileBinding implements ViewBinding {
break missingId;
}
id = R.id.button_change_photo;
MaterialButton buttonChangePhoto = ViewBindings.findChildViewById(rootView, id);
if (buttonChangePhoto == null) {
break missingId;
}
id = R.id.button_save;
MaterialButton buttonSave = ViewBindings.findChildViewById(rootView, id);
if (buttonSave == null) {
@@ -125,7 +136,7 @@ public final class DialogEditProfileBinding implements ViewBinding {
}
id = R.id.edit_profile_image;
ImageView editProfileImage = ViewBindings.findChildViewById(rootView, id);
ShapeableImageView editProfileImage = ViewBindings.findChildViewById(rootView, id);
if (editProfileImage == null) {
break missingId;
}
@@ -137,7 +148,8 @@ public final class DialogEditProfileBinding implements ViewBinding {
}
return new DialogEditProfileBinding((ScrollView) rootView, buttonCancel, buttonChangePassword,
buttonSave, editAge, editEmail, editName, editProfileImage, editUtente);
buttonChangePhoto, buttonSave, editAge, editEmail, editName, editProfileImage,
editUtente);
}
String missingId = rootView.getResources().getResourceName(id);
throw new NullPointerException("Missing required view with ID: ".concat(missingId));

View File

@@ -4,7 +4,6 @@ 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;
@@ -13,6 +12,7 @@ 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.imageview.ShapeableImageView;
import java.lang.NullPointerException;
import java.lang.Override;
import java.lang.String;
@@ -34,7 +34,7 @@ public final class FragmentProfileBinding implements ViewBinding {
public final TextView profileEmail;
@NonNull
public final ImageView profileImage;
public final ShapeableImageView profileImage;
@NonNull
public final TextView profileName;
@@ -44,8 +44,9 @@ public final class FragmentProfileBinding implements ViewBinding {
private FragmentProfileBinding(@NonNull LinearLayout rootView,
@NonNull MaterialButton buttonEditProfile, @NonNull MaterialButton buttonLogout,
@NonNull TextView profileAge, @NonNull TextView profileEmail, @NonNull ImageView profileImage,
@NonNull TextView profileName, @NonNull TextView profileUtente) {
@NonNull TextView profileAge, @NonNull TextView profileEmail,
@NonNull ShapeableImageView profileImage, @NonNull TextView profileName,
@NonNull TextView profileUtente) {
this.rootView = rootView;
this.buttonEditProfile = buttonEditProfile;
this.buttonLogout = buttonLogout;
@@ -108,7 +109,7 @@ public final class FragmentProfileBinding implements ViewBinding {
}
id = R.id.profile_image;
ImageView profileImage = ViewBindings.findChildViewById(rootView, id);
ShapeableImageView profileImage = ViewBindings.findChildViewById(rootView, id);
if (profileImage == null) {
break missingId;
}