onConfigurationChanged sometimes hits a nullpointer exception. seems to happen if App has been moved to background during QuizActivity, then subsequently destroyed by system to free up memory, if app is resumed and onConfigurationChanged is called before quiz has been re-initialised. quiz is initialised in Async task so crash doesn't happen every time, only if async task hasn't yet completed
onConfigurationChanged sometimes hits a nullpointer exception. seems to happen if App has been moved to background during QuizActivity, then subsequently destroyed by system to free up memory, if app is resumed and onConfigurationChanged is called before quiz has been re-initialised. quiz is initialised in Async task so crash doesn't happen every time, only if async task hasn't yet completed