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

Loading is too slow. Thorws NPE #4

Open
adnanharis opened this issue Dec 17, 2019 · 5 comments
Open

Loading is too slow. Thorws NPE #4

adnanharis opened this issue Dec 17, 2019 · 5 comments

Comments

@adnanharis
Copy link

I included your lib in one of my java based app. First time loading is too slow and halts the UI even after loading dynamically using ViewStub.
Throws following error:
W/System.err: kotlin.KotlinNullPointerException at me.ibrahimsn.particle.ParticleView$SurfaceViewThread.run(ParticleView.kt:134)

@AregevDev
Copy link

AregevDev commented Mar 26, 2020

Having the same issue...

EDIT: When adding particleView.onPause() and particleView.onResume(), it loads way faster

@ibrahimsn98
Copy link
Owner

Hi, which device or emulator specifications you are trying on? @adnanharis @AregevDev

@AregevDev
Copy link

Pixel 3, API 29

@ibrahimsn98
Copy link
Owner

Do you still have the problem on v1.9?

@adnanharis
Copy link
Author

Moto G5S, API 27.
Will check with v1.9 and update you accordingly.

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

3 participants