Closed 2ma closed 7 years ago
Really thanks, I've checked the issue and your solution is perfect.
I've uploaded a new release (1.1.1) with the bugfix.
dependencies { compile 'com.github.MatteoBattilana:WeatherView:1.1.1' }
Thank you! It's a cool library :)
Moved mParticleSystem.setFPS(getFPS()); into the null check, because if WeatherView is used with SUN option first, mParticleSystem is null, and mParticleSystem.setFPS(getFPS()); gives a NullPointerException.