ja acabei a app acho?
This commit is contained in:
@@ -0,0 +1,124 @@
|
||||
// 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.CheckBox;
|
||||
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.cuida.R;
|
||||
import com.google.android.material.textfield.TextInputEditText;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
|
||||
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 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) {
|
||||
this.rootView = rootView;
|
||||
this.checkboxInhalatory = checkboxInhalatory;
|
||||
this.checkboxOral = checkboxOral;
|
||||
this.checkboxTopical = checkboxTopical;
|
||||
this.editMedName = editMedName;
|
||||
this.editMedNotes = editMedNotes;
|
||||
this.textMedTime = textMedTime;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public LinearLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogAddMedicationBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogAddMedicationBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.dialog_add_medication, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogAddMedicationBinding 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.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) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.edit_med_notes;
|
||||
TextInputEditText editMedNotes = ViewBindings.findChildViewById(rootView, id);
|
||||
if (editMedNotes == 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);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@@ -4,33 +4,44 @@ package com.example.cuida.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.constraintlayout.widget.ConstraintLayout;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import com.example.cuida.R;
|
||||
import com.google.android.material.floatingactionbutton.FloatingActionButton;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
|
||||
public final class FragmentMedicationBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final LinearLayout rootView;
|
||||
private final ConstraintLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final FloatingActionButton fabAddMedication;
|
||||
|
||||
@NonNull
|
||||
public final RecyclerView recyclerMedication;
|
||||
|
||||
private FragmentMedicationBinding(@NonNull LinearLayout rootView,
|
||||
@NonNull RecyclerView recyclerMedication) {
|
||||
@NonNull
|
||||
public final TextView textTitle;
|
||||
|
||||
private FragmentMedicationBinding(@NonNull ConstraintLayout rootView,
|
||||
@NonNull FloatingActionButton fabAddMedication, @NonNull RecyclerView recyclerMedication,
|
||||
@NonNull TextView textTitle) {
|
||||
this.rootView = rootView;
|
||||
this.fabAddMedication = fabAddMedication;
|
||||
this.recyclerMedication = recyclerMedication;
|
||||
this.textTitle = textTitle;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public LinearLayout getRoot() {
|
||||
public ConstraintLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@@ -55,13 +66,26 @@ public final class FragmentMedicationBinding implements ViewBinding {
|
||||
// This is done to optimize the compiled bytecode for size and performance.
|
||||
int id;
|
||||
missingId: {
|
||||
id = R.id.fab_add_medication;
|
||||
FloatingActionButton fabAddMedication = ViewBindings.findChildViewById(rootView, id);
|
||||
if (fabAddMedication == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.recycler_medication;
|
||||
RecyclerView recyclerMedication = ViewBindings.findChildViewById(rootView, id);
|
||||
if (recyclerMedication == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new FragmentMedicationBinding((LinearLayout) rootView, recyclerMedication);
|
||||
id = R.id.text_title;
|
||||
TextView textTitle = ViewBindings.findChildViewById(rootView, id);
|
||||
if (textTitle == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new FragmentMedicationBinding((ConstraintLayout) rootView, fabAddMedication,
|
||||
recyclerMedication, textTitle);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
|
||||
@@ -27,6 +27,9 @@ public final class FragmentSns24Binding implements ViewBinding {
|
||||
@NonNull
|
||||
public final MaterialButton buttonCallSns;
|
||||
|
||||
@NonNull
|
||||
public final MaterialButton buttonFindHospital;
|
||||
|
||||
@NonNull
|
||||
public final TextInputEditText inputSymptoms;
|
||||
|
||||
@@ -35,10 +38,12 @@ public final class FragmentSns24Binding implements ViewBinding {
|
||||
|
||||
private FragmentSns24Binding(@NonNull LinearLayout rootView,
|
||||
@NonNull MaterialButton buttonAiTriage, @NonNull MaterialButton buttonCallSns,
|
||||
@NonNull TextInputEditText inputSymptoms, @NonNull TextView textAiResult) {
|
||||
@NonNull MaterialButton buttonFindHospital, @NonNull TextInputEditText inputSymptoms,
|
||||
@NonNull TextView textAiResult) {
|
||||
this.rootView = rootView;
|
||||
this.buttonAiTriage = buttonAiTriage;
|
||||
this.buttonCallSns = buttonCallSns;
|
||||
this.buttonFindHospital = buttonFindHospital;
|
||||
this.inputSymptoms = inputSymptoms;
|
||||
this.textAiResult = textAiResult;
|
||||
}
|
||||
@@ -82,6 +87,12 @@ public final class FragmentSns24Binding implements ViewBinding {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.button_find_hospital;
|
||||
MaterialButton buttonFindHospital = ViewBindings.findChildViewById(rootView, id);
|
||||
if (buttonFindHospital == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.input_symptoms;
|
||||
TextInputEditText inputSymptoms = ViewBindings.findChildViewById(rootView, id);
|
||||
if (inputSymptoms == null) {
|
||||
@@ -95,7 +106,7 @@ public final class FragmentSns24Binding implements ViewBinding {
|
||||
}
|
||||
|
||||
return new FragmentSns24Binding((LinearLayout) rootView, buttonAiTriage, buttonCallSns,
|
||||
inputSymptoms, textAiResult);
|
||||
buttonFindHospital, inputSymptoms, textAiResult);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
|
||||
Reference in New Issue
Block a user