TEmptyView icon indicating copy to clipboard operation
TEmptyView copied to clipboard

也许可以试着支持一下ConstraintLayout了

Open negier opened this issue 3 years ago • 1 comments

我沿用了你的思路,但如果给emptyView设置了ConstraintLayout.LayoutParams之后,在使用ConstraintLayout.removeView(emptyView)时,会有一个问题,emptyView消失,但RecyclerView的内容没有立即显示,需要手动拖动下才会显示出来。但如果你不给emptyView设置Constraint.LayoutParams则没有问题。

negier avatar Jun 08 '21 04:06 negier

哪怕是设置View.Visible,GONE,效果也是同上的,RecyclerView的内容没有立即显示,需要手动拖动下才会显示出来。

negier avatar Jun 08 '21 07:06 negier