Commit Graph

204 Commits

Author SHA1 Message Date
inorichi
3c1b00435c Add an initial menu for the reader, and some minor changes. 2015-11-18 21:54:33 +01:00
inorichi
b389db9773 Destroy fragment's presenter when they aren't needed using FragmentStack class from Nucleus' examples 2015-11-17 00:28:22 +01:00
inorichi
11563e6f95 Fix a leak when rotating screen while reading 2015-11-16 21:22:17 +01:00
inorichi
e177edfee6 Reorganize strings. Close reader activity when page list throws an exception and notify it. 2015-11-16 19:33:33 +01:00
inorichi
75236559ca Minor changes 2015-11-16 18:09:31 +01:00
inorichi
b002a125fd Allow manual retries of images (needs improvement) 2015-11-16 16:44:33 +01:00
inorichi
e6c230cbe3 Allow to load next and previous chapter for horizontal readers 2015-11-15 21:21:12 +01:00
inorichi
a055cc07d8 Improve sources' paging 2015-11-15 17:51:14 +01:00
inorichi
f63b7c8141 Reorganize data package 2015-11-14 19:20:39 +01:00
inorichi
67ab54ff3b Upgrade dependencies 2015-11-14 17:50:37 +01:00
inorichi
4f604e828b Organize ui by feature instead of layer 2015-11-14 17:10:55 +01:00
inorichi
e74f81d41a New source (unfinished) 2015-11-14 15:33:07 +01:00
inorichi
985c5c09a7 Automatically close dialog when login is successful and notify user by toast 2015-11-11 19:15:56 +01:00
inorichi
089b5d3326 More improvements to webtoon viewer 2015-11-11 04:56:16 +01:00
inorichi
692d3c1b2c Initial chapter number recognition (needs improvement). Remove an old class. 2015-11-10 19:31:18 +01:00
inorichi
bc83bd7033 Some improvements to viewers 2015-11-10 16:35:23 +01:00
inorichi
f2b05e8519 Tip: don't copy paste without reading it again 2015-11-09 03:47:39 +01:00
inorichi
ceb56e2c8a Update number of downloaded images in the queue, and improve the way the view refreshes the data 2015-11-09 03:31:50 +01:00
inorichi
7c37262a9f Merge database operations in a single class, deleting duplicated methods (as observable or blocking) and let the consumer decide the option 2015-11-08 13:50:49 +01:00
inorichi
a130506514 Hold a wake lock until downloads are finished 2015-11-07 22:10:08 +01:00
inorichi
0f372ba069 Allow to resume downloads when a connection is again available 2015-11-07 16:34:22 +01:00
inorichi
17c60644dd Bugfixes in download manager and other minor changes 2015-11-06 20:22:01 +01:00
inorichi
d3a32da62c Change the download event. Fix some bugs in download manager. Other minor changes. 2015-11-06 03:29:23 +01:00
inorichi
2683cad5b5 Download queue threads are now updated when the setting change 2015-11-05 20:01:37 +01:00
inorichi
c73779ea3b Listen for downloaded pages, but it's not updating the UI yet 2015-11-05 00:50:39 +01:00
inorichi
de8b7b27e1 Minor changes 2015-11-04 22:50:05 +01:00
inorichi
3bdca95d96 Use flatMap with a limit instead of windows for concurrent downloads 2015-11-04 19:54:01 +01:00
inorichi
999cc0df6e Initial download queue fragment. Update progress working 2015-11-04 18:54:07 +01:00
inorichi
3b9f4cb6f1 Allow to delete downloaded chapters 2015-11-04 12:02:55 +01:00
inorichi
fa28ccc19a Read downloaded chapters 2015-11-04 11:25:29 +01:00
inorichi
b0a8740e8d Improve download manager. Add an option to select the number of threads for downloads. 2015-11-04 10:51:49 +01:00
inorichi
11638ae917 Allow reading downloaded chapters 2015-11-03 21:27:56 +01:00
inorichi
62ae572c72 Add a temporary way to select download directory 2015-11-03 20:04:07 +01:00
inorichi
13ff612ce0 Initial download manager 2015-11-03 16:21:50 +01:00
inorichi
b3f12ae333 Allow to remove a favorite manga from info tab 2015-11-02 21:22:31 +01:00
inorichi
04dfdba0b7 Refresh button in library is now looking for new chapters in sources and notifying the user 2015-11-02 17:25:06 +01:00
inorichi
faef785fc3 Add multiple chapters selection and allow to mark them as read/unread 2015-11-02 14:42:08 +01:00
inorichi
22ee78d256 Show toast when source login is needed 2015-11-01 22:04:48 +01:00
inorichi
9407d9b4f5 Minor changes 2015-11-01 21:28:03 +01:00
inorichi
95581007df Rename pager adapter and horizontal view pager 2015-10-29 15:54:18 +01:00
inorichi
571c24d3d9 Fix bug in reader's current position 2015-10-29 15:31:42 +01:00
inorichi
720b0a29ce Allow fullscreen reading 2015-10-29 13:46:10 +01:00
inorichi
afebfec737 Initial support for read chapters 2015-10-29 00:45:51 +01:00
inorichi
5e01937cce Recover page position when configuration changes 2015-10-28 21:29:28 +01:00
inorichi
cd456d2186 Use BehaviorSubject instead of PublishSubject to observe page progress 2015-10-28 17:47:21 +01:00
inorichi
e160f53bb2 Better handling of loading progress and image load. 2015-10-28 17:20:00 +01:00
inorichi
d26049155c Increase cache size 2015-10-28 14:03:58 +01:00
inorichi
1339e32de7 Show download progress. Caching of images now without glide 2015-10-28 02:10:37 +01:00
inorichi
3561392d24 Retry calls 2015-10-27 18:40:13 +01:00
inorichi
68e5efb02b Better error handling for images 2015-10-27 17:12:16 +01:00
inorichi
35b8be6c75 Library now showing favorite mangas 2015-10-27 00:00:09 +01:00
inorichi
baa24fbf17 Check credentials before saving 2015-10-26 18:50:11 +01:00
inorichi
1b45ff3b12 Authentication with batoto done 2015-10-26 17:29:16 +01:00
inorichi
8b0b174c93 Split source class 2015-10-26 14:04:03 +01:00
inorichi
0ef610bb73 Minor changes again 2015-10-26 02:15:31 +01:00
inorichi
e975860420 Minor changes 2015-10-26 01:55:36 +01:00
inorichi
0e9e80b081 Initial support for sources' login. Upgrade support library version. 2015-10-26 01:41:10 +01:00
inorichi
e857a44987 Fix batoto parser 2015-10-25 00:08:15 +02:00
inorichi
c7e9016ad7 Add vertical viewer. Allow to select a viewer 2015-10-24 22:47:34 +02:00
inorichi
0a9b84ea11 Add broken webtoon viewer (not sure if it will be possible with RecyclerView) 2015-10-24 21:09:58 +02:00
inorichi
d3c83f0bf2 Decouple viewer from the reader activity 2015-10-24 16:04:42 +02:00
inorichi
ef7613f7ad Cache chapter images from presenter with glide. 2015-10-23 01:40:27 +02:00
inorichi
fefc6ba0e9 Disable tiling, for now 2015-10-22 17:24:17 +02:00
inorichi
3a748a9453 Allow tapping on the edges of the chapter to change pages 2015-10-22 02:20:42 +02:00
inorichi
38c6fac385 Move dagger classes to injection directory 2015-10-21 21:04:10 +02:00
inorichi
57290a5395 Remove unused util classes 2015-10-21 20:54:11 +02:00
inorichi
985d71a869 Starting preferences 2015-10-21 19:27:22 +02:00
inorichi
af678a5b3c Copy nucleus activity and fragment to create a base activity and fragment 2015-10-21 18:36:01 +02:00
inorichi
4966f1e15f Convert catalogue to a fragment 2015-10-21 17:20:03 +02:00
inorichi
4c786077a8 Show page number, improve the load of the first image of a chapter 2015-10-21 16:40:50 +02:00
inorichi
74da971b2e Reader working. Yay! 2015-10-21 02:18:29 +02:00
inorichi
915847c0ed Rename viewer to reader 2015-10-21 00:18:55 +02:00
inorichi
5142df103b Almost showing a chapter reader 2015-10-21 00:04:04 +02:00
inorichi
49c69be38e Fix wrong manga received through EventBus 2015-10-19 23:54:19 +02:00
inorichi
0c77a7034a Show chapter count 2015-10-19 17:27:41 +02:00
inorichi
9ad6efbada Minor changes 2015-10-19 15:10:25 +02:00
inorichi
a3236e98d0 Instant search when leaving search mode 2015-10-19 04:23:31 +02:00
inorichi
85d34ab9e5 Search survive screen rotation 2015-10-19 04:15:30 +02:00
inorichi
264d627dea Use subscriptions in onCreate method in CataloguePresenter 2015-10-19 02:57:00 +02:00
inorichi
1719959bc8 Use nucleus restartables in chapters presenter. Fix some database methods. Add swipe refresh to chapters fragment. Use Icepick library. 2015-10-18 19:18:50 +02:00
inorichi
920a71601b Don't restart library subscription 2015-10-18 02:33:15 +02:00
inorichi
c6df23b1aa Don't query db twice 2015-10-18 01:59:21 +02:00
inorichi
a52e33b628 Use EventBus 2015-10-18 01:22:05 +02:00
inorichi
1802dd04e4 More changes to MangaDetailActivity and its fragments 2015-10-17 21:31:10 +02:00
inorichi
c13d747665 Show chapters tab if it's a manga from library 2015-10-17 17:32:31 +02:00
inorichi
161a4b17a6 Use same activity for manga details on catalague and library. Move some methos to view. 2015-10-17 17:09:33 +02:00
inorichi
c768b4de3b Delete all view interfaces 2015-10-17 16:34:22 +02:00
inorichi
1929eea19d Delete old BasePresenter 2015-10-17 16:33:29 +02:00
inorichi
b36aa69a67 All fragments using Nucleus 2015-10-17 16:28:35 +02:00
inorichi
8c0994747f All activities using Nucleus 2015-10-17 15:51:44 +02:00
inorichi
0e52c81970 Add MangaDetailActivity with two fragments, info and chapters 2015-10-17 13:51:54 +02:00
inorichi
07395892a0 Imports cleanup 2015-10-17 04:06:30 +02:00
inorichi
049e5a1ee5 Use RxPresenter in Library 2015-10-17 04:03:39 +02:00
inorichi
8da5c83cb3 Add catalogue detail page. Add simple tests for sources 2015-10-17 02:39:16 +02:00
inorichi
0cfd433234 Begin switch to Nucleus 2015-10-16 21:40:59 +02:00
inorichi
906cdc1348 Add MangaHere source 2015-10-16 21:30:16 +02:00
inorichi
235ed36fbe Introducing nucleus 2015-10-16 19:31:18 +02:00
inorichi
68f1102c40 Create empty MangaCatalogue 2015-10-15 01:51:35 +02:00
inorichi
684c5e98d3 Rename classes 2015-10-14 13:39:07 +02:00
inorichi
fbf141aad8 Fix crash when searching in the library 2015-10-14 12:49:00 +02:00