Open knjk04 opened 5 years ago
Branch: experimental Line: 218 in SearchableActivity.java
<Book> books = Arrays.asList(bookList.getBooks());
A check could be made to see if bookList is null (e.g. the code below), but I don't see why bookList should be null in the first place. A search query was made (non-empty) and some data was read from the API call.
if (bookList != null)
Branch: experimental Line: 218 in SearchableActivity.java
A check could be made to see if bookList is null (e.g. the code below), but I don't see why bookList should be null in the first place. A search query was made (non-empty) and some data was read from the API call.