Open OrenBochman opened 6 years ago
showBooksInUi(books, mBooksTextView); should be
showBooksInUi(books); as mBooksTextView is a class var and it is initialised before subscribeUiBooks() is called onCreate()
Please update the tutorial as this change has been made but the Codelab has not. https://codelabs.developers.google.com/codelabs/android-persistence/#5
showBooksInUi(books, mBooksTextView); should be
showBooksInUi(books); as mBooksTextView is a class var and it is initialised before subscribeUiBooks() is called onCreate()