动态设置RecyclerView的高度
方法一,自定义view继承RecyclerView(来源)class MaxRecyclerView : RecyclerView { private var mMaxHeight = 0 constructor(context: Context) : super(context) {} constructor(context: Context, attrs: AttributeSet?) : super(context, attrs) { init(conte
原创
2021-11-05 00:08:14 ·
1353 阅读 ·
0 评论