![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LayoutManager
Plx0303sunny
这个作者很懒,什么都没留下…
展开
-
RecyclerView滚动指定位置到屏幕中间
背景接到个产品需求,需要使RecyclerView点击item后滚动到RecyclerView的中间位置实现自定义SmoothScroller继承LinearSmoothScroller继承LinearLayoutManager重写smoothScrollToPosition调用自定义SmoothScroller代码package com.wuba.housecommon.filt...原创 2019-12-31 18:15:41 · 1906 阅读 · 1 评论 -
RecyclerView实现 时间选择器 仿探探card 画廊 等效果
RVLayoutManager滚轮效果时间选择器PickerLayoutManager特点支持指定滚轮固定个数显示mPickerLayoutManager2 = new PickerLayoutManager(this, PickerLayoutManager.VERTICAL, false,3,0.4f,true);mRecyclerView2.setLayoutManager(m...原创 2019-10-10 15:10:55 · 786 阅读 · 0 评论