Closed vdaita closed 6 years ago
Here is the exact error that I got:
Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'void com.survivingwithandroid.weather.lib.provider.IWeatherProvider.setConfig(com.survivingwithandroid.weather.lib.WeatherConfig)' on a null object reference
Updated to 1.6
I am trying to use WeatherLib in my app. However, when I try to set up the config, I get a NullPointerException. I cannot find a way to fix it, and I have used the code provided. Any pointers?
` WeatherClient weatherClient = WeatherClientDefault.getInstance();
Any help provided is appreciated.