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

Endless loop to computeVerticalScrollOffset #2

Open
woxblom opened this issue Aug 9, 2018 · 0 comments
Open

Endless loop to computeVerticalScrollOffset #2

woxblom opened this issue Aug 9, 2018 · 0 comments

Comments

@woxblom
Copy link

woxblom commented Aug 9, 2018

Hey, tried you lib out and it worked well until I noticed a endless loop when enabling vertical scrollbars.

Without out scrollbars it works fine. But with vertical scrollbars enabled I get an endless loop to the following methods.

public int computeVerticalScrollExtent(State state)
public int computeVerticalScrollOffset(State state)
public int computeVerticalScrollRange(State state)

Stacktrace:

•	"main"@8,037 in group "main": RUNNING
•	computeVerticalScrollOffset:215, StickyHeadersLinearLayoutManager {com.jay.widget}
•	computeVerticalScrollOffset:1948, RecyclerView {android.support.v7.widget}
•	onDrawScrollBars:16826, View {android.view}
•	onDrawForeground:20892, View {android.view}
•	draw:19205, View {android.view}
•	draw:4107, RecyclerView {android.support.v7.widget}
•	updateDisplayListIfDirty:18142, View {android.view}
•	recreateChildDisplayList:4220, ViewGroup {android.view}
•	dispatchGetDisplayList:4200, ViewGroup {android.view}
•	updateDisplayListIfDirty:18101, View {android.view}
•	recreateChildDisplayList:4220, ViewGroup {android.view}
•	dispatchGetDisplayList:4200, ViewGroup {android.view}
•	updateDisplayListIfDirty:18101, View {android.view}
•	recreateChildDisplayList:4220, ViewGroup {android.view}
•	dispatchGetDisplayList:4200, ViewGroup {android.view}
•	updateDisplayListIfDirty:18101, View {android.view}
•	recreateChildDisplayList:4220, ViewGroup {android.view}
•	dispatchGetDisplayList:4200, ViewGroup {android.view}
•	updateDisplayListIfDirty:18101, View {android.view}
•	recreateChildDisplayList:4220, ViewGroup {android.view}
•	dispatchGetDisplayList:4200, ViewGroup {android.view}
•	updateDisplayListIfDirty:18101, View {android.view}
•	recreateChildDisplayList:4220, ViewGroup {android.view}
•	dispatchGetDisplayList:4200, ViewGroup {android.view}
•	updateDisplayListIfDirty:18101, View {android.view}
•	recreateChildDisplayList:4220, ViewGroup {android.view}
•	dispatchGetDisplayList:4200, ViewGroup {android.view}
•	updateDisplayListIfDirty:18101, View {android.view}
•	recreateChildDisplayList:4220, ViewGroup {android.view}
•	dispatchGetDisplayList:4200, ViewGroup {android.view}
•	updateDisplayListIfDirty:18101, View {android.view}
•	recreateChildDisplayList:4220, ViewGroup {android.view}
•	dispatchGetDisplayList:4200, ViewGroup {android.view}
•	updateDisplayListIfDirty:18101, View {android.view}
•	updateViewTreeDisplayList:669, ThreadedRenderer {android.view}
•	updateRootDisplayList:675, ThreadedRenderer {android.view}
•	draw:783, ThreadedRenderer {android.view}
•	draw:2992, ViewRootImpl {android.view}
•	performDraw:2806, ViewRootImpl {android.view}
•	performTraversals:2359, ViewRootImpl {android.view}
•	doTraversal:1392, ViewRootImpl {android.view}
•	run:6752, ViewRootImpl$TraversalRunnable {android.view}
•	run:911, Choreographer$CallbackRecord {android.view}
•	doCallbacks:723, Choreographer {android.view}
•	doFrame:658, Choreographer {android.view}
•	run:897, Choreographer$FrameDisplayEventReceiver {android.view}
•	handleCallback:790, Handler {android.os}
•	dispatchMessage:99, Handler {android.os}
•	loop:164, Looper {android.os}
•	main:6494, ActivityThread {android.app}
•	invoke:-1, Method {java.lang.reflect}
•	run:438, RuntimeInit$MethodAndArgsCaller {com.android.internal.os}
•	main:807, ZygoteInit {com.android.internal.os}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant