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