emiller1 / magnificent-app

0 stars 1 forks source link

Null Pointer: Line 75 HomeActivity.java #6

Open emiller1 opened 7 years ago

emiller1 commented 7 years ago

for (int i = 0; i < browseList.size(); i++) { Log.d("TitleMainActivity", String.valueOf(i + 1) + browseList.get(i).getTitle()); }

If not connected to the internet browseList.size() is null. We need to check that when not connected to the internet to not check the size.