How can I validate recyclerview adapter TextInputEditText from fragment?
问题 I have a fragment, which contains a recyclerview. This recyclerview is managed with an adapter that includes the viewholder pattern. In the fragment I have a "Save" button, this button must check that no TextInputEditText is empty in the list. The problem is that I can not access the TextInputEditText of the adapter. ViewHolder is only accessible from the "onBindViewHolder" method. I tried to access from fragment in a way: for (int i = 0; i < employeeList.size(); i++) { View employeeView =