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

is:issue is:open Sometimes I get crash when childs are using livedata observers #25

Open
ghost opened this issue Feb 22, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 22, 2022

is:issue is:open Sometimes I get crash because typed array "android.content.res.TypedArray.getResourceId TypedArray.java"; It seems it's not working properly when child view are using livedata observers.

android.content.res.TypedArray.getResourceId TypedArray.java:929
.StickyScrollView$a.onGlobalLayout SourceFile:1
android.view

Any Idea?

@sathishcse
Copy link

sathishcse commented Mar 28, 2022

Cannot make calls to a recycled instance!
at android.content.res.TypedArray.getResourceId(TypedArray.java:1128)
at com.amar.library.provider.ResourceProvider.getResourceId(ResourceProvider.kt:13)
at com.amar.library.ui.presenter.StickyScrollPresenter.onGlobalLayoutChange(StickyScrollPresenter.kt:31)
at com.amar.library.ui.StickyScrollView$1.invoke(StickyScrollView.kt:37)
at com.amar.library.ui.StickyScrollView$1.invoke(StickyScrollView.kt:36)
at com.amar.library.ui.StickyScrollView$onLayoutUpdate$1.onGlobalLayout(StickyScrollView.kt:175)

    Above issue occurs in my project

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