Small behavior improvement

This commit is contained in:
M66B 2019-01-22 17:06:40 +00:00
parent cbdda8bb0d
commit 20c3db0920
1 changed files with 2 additions and 1 deletions

View File

@ -310,7 +310,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
ViewGroup group = (ViewGroup) itemView;
for (int i = 0; i < group.getChildCount(); i++) {
View child = group.getChildAt(i);
if (child.getId() != R.id.tvDay && child.getId() != R.id.vSeparatorDay)
int id = child.getId();
if (id != R.id.tvDay && id != R.id.vSeparatorDay && id != R.id.vSeparator)
child.setTranslationX(dx);
}
}