public class MyRecyclerView extends RecyclerView {
private static final String TAG = "RecyclerView";
int mArcLength = 0;
private GridLayoutManager mLayoutManager;
private Paint mBgArcPaint;
private Paint mArcPaint;
private Paint mCirclePaint;
private Paint mBgCirclePaint;
private final int START_ANGLE = 320;
private final int SWEEP_ANGLE = 80;
private final int PADDING =12;
private boolean mIndicatorVisible = false; // 是否显示滚动条
private int mVisibleItemCount = 0;
private Handler mHandler = new Handler();
private int mYscroll = 0;
private MyAdapter mAdapter;
private int mItemHeight = 0;
<