RecyclerView 四周带分割线的ItemDecoration

这是效果图: 这是代码(用kotlin写的有点装): class GridLayoutDivider(width:Int,color:Int) : RecyclerView.ItemDecoration() { private var mWidth = width private var mColor = color private var mPaint = Paint(P
相关文章
相关标签/搜索