android-particles icon indicating copy to clipboard operation
android-particles copied to clipboard

Loading is too slow. Thorws NPE

Open adnanharis opened this issue 5 years ago • 5 comments

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)

adnanharis avatar Dec 17 '19 12:12 adnanharis

Having the same issue...

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

AregevDev avatar Mar 26 '20 20:03 AregevDev

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

ibrahimsn98 avatar May 29 '20 15:05 ibrahimsn98

Pixel 3, API 29

AregevDev avatar May 29 '20 16:05 AregevDev

Do you still have the problem on v1.9?

ibrahimsn98 avatar May 29 '20 17:05 ibrahimsn98

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

adnanharis avatar May 30 '20 08:05 adnanharis