mirror of
https://github.com/MinimalBible/MinimalBible-Legacy
synced 2024-11-16 04:58:26 -05:00
[broken] Add a note on the InstalledManager
This commit is contained in:
parent
899b054c8b
commit
287b8cb40d
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user