Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2019-05-08:谈谈自定义LayoutManager的流程? #47

Open
MoJieBlog opened this issue May 8, 2019 · 4 comments
Open

2019-05-08:谈谈自定义LayoutManager的流程? #47

MoJieBlog opened this issue May 8, 2019 · 4 comments

Comments

@MoJieBlog
Copy link
Collaborator

No description provided.

@Moosphan Moosphan changed the title 2019-05-08:谈谈自定义LayoutManager的流程 2019-05-08:谈谈自定义LayoutManager的流程? May 8, 2019
@guosen
Copy link

guosen commented May 8, 2019

onLayoutChildren 布局

@yangfanggang
Copy link

没有自定义过

露出来和我头像一样的神情

打卡打卡

明天看看相关的 学习一波

@979451341
Copy link

1.确定Itemview的LayoutParams
generateDefaultLayoutParams

2.确定所有itemview在recyclerview的位置,并且回收和复用itemview
onLayoutChildren

3.添加滑动
canScrollVertically

重点其实是 回收和复用itemview,你需要判断什么时候回收itemview,什么时候复用itemview

@xuqimeng
Copy link

https://blog.csdn.net/m0_37796683/article/details/104864318
理解RecyclerView(五)—RecyclerView的绘制流程

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants