Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

fix(setNoScrolling): 解决VirtualLayoutManager.setNoScrolling(让recyclerView绘制所有item)不生效,并且无限循环onMeasure问题 #507

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hcanyz
Copy link

@hcanyz hcanyz commented Jul 7, 2020

~

…iew绘制所有item)不生效,并且无限循环onMeasure问题
@debughao
Copy link

的确遇到setNoScrolling(true) 无限循环layout的问题

@hcanyz
Copy link
Author

hcanyz commented Jul 18, 2020

的确遇到setNoScrolling(true) 无限循环layout的问题

按PR改下可以解决这个问题,但是VLayout在渲染过程处理的东西比较多,性能不是很好。

另外setNoScrolling(true)后就不能使用 FixLayoutHelper、FloatLayoutHelper、StickyLayoutHelper了。

这个库貌似不怎么维护了,可以考虑下官方的 ConcatAdapter

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

Successfully merging this pull request may close these issues.

None yet

2 participants