Open angrypacman opened 5 years ago
if cursor == null then app will crash with NPE https://github.com/udacity/ud851-Sunshine/blob/dbd998b89b78afac6c744ad92f14c7ba5eaf7531/S10.02-Solution-SmarterSyncing/app/src/main/java/com/example/android/sunshine/sync/SunshineSyncUtils.java#L103
cursor == null
https://github.com/udacity/ud851-Sunshine/blob/dbd998b89b78afac6c744ad92f14c7ba5eaf7531/S10.03-Solution-FirebaseJobDispatcher/app/src/main/java/com/example/android/sunshine/sync/SunshineSyncUtils.java#L178
and all the subsequent exercises and solutions
if
cursor == null
then app will crash with NPE https://github.com/udacity/ud851-Sunshine/blob/dbd998b89b78afac6c744ad92f14c7ba5eaf7531/S10.02-Solution-SmarterSyncing/app/src/main/java/com/example/android/sunshine/sync/SunshineSyncUtils.java#L103https://github.com/udacity/ud851-Sunshine/blob/dbd998b89b78afac6c744ad92f14c7ba5eaf7531/S10.03-Solution-FirebaseJobDispatcher/app/src/main/java/com/example/android/sunshine/sync/SunshineSyncUtils.java#L178
and all the subsequent exercises and solutions