ja meti o droplist nos medicamentos
This commit is contained in:
@@ -10,10 +10,12 @@ import android.widget.RadioGroup;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
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 com.google.android.material.textfield.TextInputLayout;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
@@ -28,6 +30,9 @@ public final class DialogAddMedicationBinding implements ViewBinding {
|
||||
@NonNull
|
||||
public final TextInputEditText editMedNotes;
|
||||
|
||||
@NonNull
|
||||
public final TextInputLayout layoutMedName;
|
||||
|
||||
@NonNull
|
||||
public final RadioGroup radioGroupRoute;
|
||||
|
||||
@@ -40,21 +45,27 @@ public final class DialogAddMedicationBinding implements ViewBinding {
|
||||
@NonNull
|
||||
public final RadioButton radioTopical;
|
||||
|
||||
@NonNull
|
||||
public final RecyclerView recyclerSearchResults;
|
||||
|
||||
@NonNull
|
||||
public final TextView textMedTime;
|
||||
|
||||
private DialogAddMedicationBinding(@NonNull LinearLayout rootView,
|
||||
@NonNull TextInputEditText editMedName, @NonNull TextInputEditText editMedNotes,
|
||||
@NonNull RadioGroup radioGroupRoute, @NonNull RadioButton radioInhalatory,
|
||||
@NonNull RadioButton radioOral, @NonNull RadioButton radioTopical,
|
||||
@NonNull TextInputLayout layoutMedName, @NonNull RadioGroup radioGroupRoute,
|
||||
@NonNull RadioButton radioInhalatory, @NonNull RadioButton radioOral,
|
||||
@NonNull RadioButton radioTopical, @NonNull RecyclerView recyclerSearchResults,
|
||||
@NonNull TextView textMedTime) {
|
||||
this.rootView = rootView;
|
||||
this.editMedName = editMedName;
|
||||
this.editMedNotes = editMedNotes;
|
||||
this.layoutMedName = layoutMedName;
|
||||
this.radioGroupRoute = radioGroupRoute;
|
||||
this.radioInhalatory = radioInhalatory;
|
||||
this.radioOral = radioOral;
|
||||
this.radioTopical = radioTopical;
|
||||
this.recyclerSearchResults = recyclerSearchResults;
|
||||
this.textMedTime = textMedTime;
|
||||
}
|
||||
|
||||
@@ -97,6 +108,12 @@ public final class DialogAddMedicationBinding implements ViewBinding {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.layout_med_name;
|
||||
TextInputLayout layoutMedName = ViewBindings.findChildViewById(rootView, id);
|
||||
if (layoutMedName == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.radio_group_route;
|
||||
RadioGroup radioGroupRoute = ViewBindings.findChildViewById(rootView, id);
|
||||
if (radioGroupRoute == null) {
|
||||
@@ -121,6 +138,12 @@ public final class DialogAddMedicationBinding implements ViewBinding {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.recycler_search_results;
|
||||
RecyclerView recyclerSearchResults = ViewBindings.findChildViewById(rootView, id);
|
||||
if (recyclerSearchResults == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.text_med_time;
|
||||
TextView textMedTime = ViewBindings.findChildViewById(rootView, id);
|
||||
if (textMedTime == null) {
|
||||
@@ -128,7 +151,8 @@ public final class DialogAddMedicationBinding implements ViewBinding {
|
||||
}
|
||||
|
||||
return new DialogAddMedicationBinding((LinearLayout) rootView, editMedName, editMedNotes,
|
||||
radioGroupRoute, radioInhalatory, radioOral, radioTopical, textMedTime);
|
||||
layoutMedName, radioGroupRoute, radioInhalatory, radioOral, radioTopical,
|
||||
recyclerSearchResults, textMedTime);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
// 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 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 java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
|
||||
public final class ItemComprimidoSearchBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final LinearLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final TextView textPillName;
|
||||
|
||||
private ItemComprimidoSearchBinding(@NonNull LinearLayout rootView,
|
||||
@NonNull TextView textPillName) {
|
||||
this.rootView = rootView;
|
||||
this.textPillName = textPillName;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public LinearLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ItemComprimidoSearchBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ItemComprimidoSearchBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.item_comprimido_search, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ItemComprimidoSearchBinding 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.text_pill_name;
|
||||
TextView textPillName = ViewBindings.findChildViewById(rootView, id);
|
||||
if (textPillName == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new ItemComprimidoSearchBinding((LinearLayout) rootView, textPillName);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user