You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a function that looks something like the one below
@OverRide
public void onBindViewHolder(@nonnull ProcedureViewHolder holder, int position) {
if(position % 17 == 0){
holder.procedureName.setTextColor(context.getResources().getColor(R.color.com_facebook_blue));
}
}
and when I run it, the rows that change text color are seemingly random. There are several places where 2 or 3 rows in a row have blue text. For sure there are more than every 17th items whos text is blue
The text was updated successfully, but these errors were encountered:
I have a function that looks something like the one below
@OverRide
public void onBindViewHolder(@nonnull ProcedureViewHolder holder, int position) {
if(position % 17 == 0){
holder.procedureName.setTextColor(context.getResources().getColor(R.color.com_facebook_blue));
}
}
and when I run it, the rows that change text color are seemingly random. There are several places where 2 or 3 rows in a row have blue text. For sure there are more than every 17th items whos text is blue
The text was updated successfully, but these errors were encountered: