Attempt to workaround ConstraintLayout issue

Refs androidx/constraintlayout#430
pull/194/merge
M66B 3 years ago
parent 7aeb2d31ca
commit 0098fdc2f1

@ -1589,8 +1589,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
ConstraintLayout cl = (ConstraintLayout) flow.getParent();
for (int id : flow.getReferencedIds()) {
View v = cl.findViewById(id);
flow.removeView(v);
cl.removeView(v);
// flow.removeView(v);
// cl.removeView(v);
// https://github.com/androidx/constraintlayout/issues/430
v.setVisibility(View.GONE);
}
}

Loading…
Cancel
Save