[broken] Add a note on the InstalledManager

This commit is contained in:
Bradlee Speice 2014-06-10 22:39:06 -04:00
parent 899b054c8b
commit 287b8cb40d

View File

@ -19,8 +19,6 @@ import javax.inject.Singleton;
@Singleton @Singleton
public class InstalledManager implements BooksListener { public class InstalledManager implements BooksListener {
@Inject DownloadManager downloadManager;
private Books installedBooks; private Books installedBooks;
private List<Book> installedBooksList; private List<Book> installedBooksList;
@ -30,6 +28,7 @@ public class InstalledManager implements BooksListener {
* so we don't put it in the constructor. * so we don't put it in the constructor.
*/ */
public void initialize() { public void initialize() {
//TODO: Move this to a true async, rather than separate initialize() function
installedBooks = Books.installed(); installedBooks = Books.installed();
installedBooksList = installedBooks.getBooks(); installedBooksList = installedBooks.getBooks();
installedBooks.addBooksListener(this); installedBooks.addBooksListener(this);