Commit Graph

126 Commits (ba3c6ebe6c1f203da28cfd98806cc51256d0efa5)

Author SHA1 Message Date
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
Bradlee Speice 5770e8dd74 Add RxAndroid support, remove eventbus 2014-06-10 19:32:23 -04:00
Bradlee Speice 3f5909be08 Add retrolambda support 2014-06-10 19:30:45 -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 2e8974b745 See if I can't figure out why I'm getting a NPE on the setup method... 2014-06-04 22:18:08 -04:00
Bradlee Speice 5a2eee49d5 Add code to test installing and removing books
The test was successful on the first try. I don't know if I should be scared about that.
2014-06-04 21:53:53 -04:00
Bradlee Speice 1a8b3f2eee Add code to remove books 2014-06-04 21:42:41 -04:00
Bradlee Speice 4514c0f33f Forgot to actually include the link on the README update 2014-05-31 00:04:12 -04:00
Bradlee Speice 457ab021c7 Split out the setUp, Travis is giving an NPE 2014-05-31 00:02:47 -04:00
Bradlee Speice bd60b9a038 Set up the README with the Travis build status 2014-05-30 23:37:48 -04:00
Bradlee Speice ca4cff2adf Allow the await() to run longer...
Forgot how slow the emulator was, this is a bit ridiculous.
2014-05-30 23:33:50 -04:00
Bradlee Speice ed219bc8a4 Unit test fixes, works locally.
We'll see if it finally runs on Travis...
2014-05-30 23:23:16 -04:00
Bradlee Speice 8fe05dc70b wait_for_emulator wasn't marked executable 2014-05-30 22:09:17 -04:00
DjBushido f187b519f0 Add the wait_for_emulator script 2014-05-30 22:04:41 -04:00
DjBushido b21f3c1fd8 Ignore lint errors on build, I'm working on the fix. 2014-05-30 21:55:33 -04:00
DjBushido f5128d6753 Remove some extraneous build artifacts
Also trigger the Travis build.
2014-05-30 21:41:31 -04:00
DjBushido 83a5ce6e9f Add the initial Travis build file 2014-05-30 21:30:07 -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 38181c8827 Remove the Otto dependency
I appreciate Green Robot's EventBus' ability to let subscribers choose what thread they subscribe on.
2014-05-24 15:12:40 -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 bba77bb45a And add an incredibly basic test 2014-05-24 02:13:35 -04:00
Bradlee Speice 2af187e429 Enable android testing 2014-05-24 02:12:57 -04:00
Bradlee Speice 221f01653f Add the Otto dependency 2014-05-24 02:03:44 -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
Bradlee Speice d16730781b Add the SVG logo I used 2014-05-17 20:56:38 -04:00
Bradlee Speice 6446e143ba Remove the ProgressWheel folder entirely
Not sure why it was allowed to stay...
2014-05-17 01:38:06 -04:00
Bradlee Speice b04d6c67ae Add in the ProgressWheel!
Also make sure it gets put in the proper package to make sure the author gets credit.
2014-05-17 01:37:44 -04:00
Bradlee Speice 5222b6e3e6 Various cleanups
Move ProgressWheel into the project proper, optimize the DL ListView
And also remove android-iconify. Despite using icons (which is awesome)
it didn't handle button highlight on click well, and the icons seemed a
bit small anyways.
2014-05-17 01:16:36 -04:00