How to make a sample of an if statement like: if my recyclerview list has some textview string "customer". Then I want to disable the editext in all recyclerview list that has a textview string customer.
this is my code in my viewholder:
this.customer = (textview) customerView.findViewById (R.id.customertag);
customer.setText("customer");
this.ediText =(EditText)customerView.findViewById(R.id.message_edit)
if( ) {
//how to make "if customerView has textView string "customer" else edit will be disabled"
}
Aucun commentaire:
Enregistrer un commentaire