Commit Graph

33 Commits (4269988b7c300f3de1b5befb0f3b221150401dd1)

Author SHA1 Message Date
Bradlee Speice 4269988b7c Backport to Java 6...
Android Studio automatically folds lambda-style, so it won't get too out of hand.
2014-06-14 16:41:11 -04:00
Bradlee Speice e945ef51a7 Get the unit tests passing again
Note: I need to write more. Lots more.
2014-06-14 16:25:13 -04:00
Bradlee Speice 04fe4d13b4 Add lots of Lint fixes 2014-06-14 15:13:44 -04:00
Bradlee Speice dda5c79299 Fix books not being removed... 2014-06-14 15:04:17 -04:00
Bradlee Speice 93abe065a2 Fix a NetworkOnMainThreadException 2014-06-14 14:10:43 -04:00
Bradlee Speice ba3c6ebe6c Some refactoring and Async fixes. 2014-06-14 14:08:50 -04:00
Bradlee Speice 3869cf0b9b Synchronization needs fixing, otherwise works. 2014-06-10 23:46:29 -04:00
Bradlee Speice 8d17b6db64 Silly DownloadManager
Injects are for classes that need them.
2014-06-10 23:44:35 -04:00
Bradlee Speice 7070c933d1 Fix the dagger compile errors
If you have an @Singleton with no @Injects inside it, you need to add an
@Injects constructor for Dagger to validate.
2014-06-10 23:41:35 -04:00
Bradlee Speice 28dfec81d7 [broken probably] Refactoring to Rx should be done...
But having issues with compiling. Checking if Dagger and retrolambda
play nice.
2014-06-10 23:17:20 -04:00
Bradlee Speice fb0c5fdaaa [broken] BookListFragment to Rx 2014-06-10 22:56:52 -04:00
Bradlee Speice 6eb5f66dcc [broken] BookItemHolder to Rx 2014-06-10 22:49:47 -04:00
Bradlee Speice e356c8d1fc Revert "[broken] Remove the BookDownloadThread again"
This reverts commit 8f346f17e4.
2014-06-10 22:40:46 -04:00
Bradlee Speice 287b8cb40d [broken] Add a note on the InstalledManager 2014-06-10 22:39:06 -04:00
Bradlee Speice 899b054c8b [broken] Slight semantic change to RefreshManager 2014-06-10 22:37:53 -04:00
Bradlee Speice 8f346f17e4 [broken] Remove the BookDownloadThread again 2014-06-10 22:36:12 -04:00
Bradlee Speice 1a7364da86 [broken] Convert BookDownloadManager to Rx 2014-06-10 22:35:40 -04:00
Bradlee Speice ca1ccd9942 [broken] Convert RefreshManager to Rx 2014-06-10 22:04:53 -04:00
DjBushido a7e185690e Try once more to fix the NPE on tests. 2014-06-05 21:29:00 -04:00
Bradlee Speice 78997f704f Dynamically create the ObjectGraph, rather than onCreate() 2014-06-05 21:00:15 -04:00
Bradlee Speice 1a8b3f2eee Add code to remove books 2014-06-04 21:42:41 -04:00
Bradlee Speice ded7193c49 Lint fixes 2014-05-25 18:11:09 -04:00
Bradlee Speice 1017f9a34d Downloads are now thoroughly done
No bugs that I can see, likely needs some cleanup.
2014-05-25 17:48:39 -04:00
Bradlee Speice c1dc0da9e3 Some tweaks to progress, add "remove" button
Doesn't remove anything yet though...
2014-05-25 01:00:41 -04:00
Bradlee Speice 7558fc7f20 Progress is working fine for most books
Still seeing some strange issues, need to do some investigation...
2014-05-24 22:34:55 -04:00
Bradlee Speice 6191943d3f Downloading now shows progress!
Nasty bug where you can double register to the bus because it's not actually destroyed, need to fix that.
2014-05-24 22:13:23 -04:00
Bradlee Speice 6afb9b6f28 Can download books!
Progress doesn't show, but I'm about to fix that.
2014-05-24 21:12:20 -04:00
Bradlee Speice 2c494edadc Unit testing now working
Also demo test case for async testing.
2014-05-24 15:11:26 -04:00
Bradlee Speice d7a9ad3c82 Extra refactoring and cleanup on BookItemHolder
Also, rules for displaying everything and layouts are fleshed out.
2014-05-20 22:21:59 -04:00
Bradlee Speice 135832859c Add a couple TODOs for cleaning the Adapter 2014-05-19 23:32:27 -04:00
Bradlee Speice f7f3b56db8 Add bones for registering download progress 2014-05-19 23:20:47 -04:00
Bradlee Speice d10626efe6 Switch to Esperandro for SharedPreferences 2014-05-19 22:52:00 -04:00
Bradlee Speice d664f12d08 Path refactoring
Also fixed an issue with View recycling
2014-05-19 22:34:56 -04:00