添加文档
This commit is contained in:
parent
d7d81bc5a7
commit
7cccc48b80
@ -1,4 +1,3 @@
|
||||
package com.yunbao.live.custom;
|
||||
|
||||
import android.graphics.Canvas;
|
||||
import android.graphics.Color;
|
||||
@ -12,8 +11,10 @@ import android.graphics.Xfermode;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
|
||||
/**
|
||||
* Created by cxf on 2018/1/27.
|
||||
* RecyclerView右側渐变的itemDecoration
|
||||
* 渐变参考文档:https://blog.csdn.net/u010126792/article/details/85237085
|
||||
* 半透明则是由0→黑的渐变效果
|
||||
* 使用方法: RecyclerView.addItemDecoration(new RightGradual());
|
||||
*/
|
||||
|
||||
public class RightGradual extends RecyclerView.ItemDecoration {
|
||||
|
Loading…
Reference in New Issue
Block a user