Commit Graph

74 Commits

Author SHA1 Message Date
arkon e288bf902b Reword download chapter number sorting options 2021-01-23 13:19:57 -05:00
Riztard Lanthorn a083e1f71a add sort by chapter number in download queue (#4337)
* add sort by chapter number in download queue

* Bigest, smallest chapter download

* grouped
2021-01-23 13:10:57 -05:00
Riztard Lanthorn 628bd5d6b4 add source name in download queue (#4338) 2021-01-23 10:15:30 -05:00
inorichi 36f81b4a62 Minor fixes regarding leaks 2021-01-07 15:19:00 +01:00
arkon 84ae61f72c Refactor download states into enum 2020-12-27 10:20:14 -05:00
arkon e048d66f74 Revert edge to edge
This was a bigger headache than it was worth. To note, phone landscape wasn't considered, so the navbar overlaps the content on the side. Additionally, the ability to programatically control the navbar scrim is missing, so it'd have to manually be added.
2020-11-29 11:08:06 -05:00
arkon 749c2071af Replace Kotlin synthetic views in viewholders 2020-11-28 15:24:40 -05:00
arkon 776f6a9a16 More bottom inset padding fixes 2020-11-27 21:05:06 -05:00
arkon 60b2a4ea9d Handle bottom insets in FAB controllers too 2020-11-22 23:08:41 -05:00
arkon 76f6fe4601 Use Kolinter Gradle plugin for linting instead of ktlint directly 2020-09-13 18:48:20 -04:00
arkon 64bdfabbd8 Revert ktlint update, unrevert Gradle and PR build workflow reverts (#3681) 2020-08-15 16:44:46 -04:00
arkon 4a136ef2aa Automatic linting fixes 2020-08-13 09:02:15 -04:00
arkon 9e51d82154 Replace custom visibility extension functions 2020-07-25 12:00:27 -04:00
arkon 0cef05dd89 Revert "Make controllers responsible for showing/hiding FAB"
This reverts commit 8ef548032f.
2020-07-18 16:37:36 -04:00
arkon 8ef548032f Make controllers responsible for showing/hiding FAB 2020-07-17 09:50:40 -04:00
arkon 479eb1ba71 Attach some FABs and snackbars to root CoordinatorLayout
Fixes some issues around snackbars sometimes being out of view.
2020-07-10 11:15:57 -04:00
arkon 0b8b13d0bb Add FastScroller to downloads 2020-06-01 08:55:37 -04:00
arkon bf5065d16b Minor cleanup, remove some usages of ArrayList 2020-05-30 23:42:11 -04:00
arkon dd1b5c7ea7 Minor edits 2020-05-10 12:58:13 -04:00
arkon ce0090f0ca Bunch of crash fixes 2020-05-03 12:17:10 -04:00
arkon d72c51c8dd Hide app/nav bars on scroll 2020-05-02 11:33:31 -04:00
arkon fc7a040509 Move queue start/pause to FAB 2020-05-01 19:39:30 -04:00
arkon 3f63b320c4 Linting fixes 2020-04-25 14:24:45 -04:00
arkon c967308859 Replace deprecated adapterPosition with bindingAdapterPosition 2020-04-22 09:17:23 -04:00
arkon 6a532b836d Refactor databinding fields to parent abstract classes 2020-04-18 14:40:18 -04:00
arkon 48f7b06549 Minor edits 2020-04-16 17:21:58 -04:00
arkon 627a720d4b Migrate to ViewBinding from Kotlin synthetics in controllers 2020-04-08 23:06:28 -04:00
arkon fb897e37d1 Add download queue features from J2K fork 2020-03-15 22:42:40 -04:00
arkon d7d3731567 Random kaomoji for empty view 2020-03-09 19:47:12 -04:00
arkon 0f2d480036 More linting fixes 2020-02-26 18:12:44 -05:00
arkon 043e3784e8 Run linter 2020-02-26 18:03:34 -05:00
arkon 8feb4365dd Minor edit to onOptionsItemSelected fallthrough logic 2020-02-05 22:53:49 -05:00
arkon 47f5ea881f Reorganize other util files 2020-02-02 22:22:54 -05:00
arkon 13ea1342fb Optimize imports 2020-01-28 22:47:57 -05:00
arkon 5cddb269d6 Minor code cleanup 2020-01-07 20:17:07 -05:00
arkon 600fbb2ef8 Update files to use unix line endings
cmd: `find . -type f -print0 | xargs -0 dos2unix`
2020-01-05 14:43:07 -05:00
arkon 78689e7443 Migrate to AndroidX (#2424)
* Migrate to AndroidX (automatic conversion by Android Studio)

* AndroidX dependency code updates

* Fix source preference reparenting

* fixes the androidx prefererences icon spacing issue

(cherry picked from commit b76a15d960ec2cdf771be16377db0348b66b3179)

* Fix source preference screen heading size/list padding

Co-authored-by: Carlos <cargo8005@gmail.com>
2020-01-05 11:29:27 -05:00
inorichi 8bcb14c65d Add view caching to view holders 2017-12-03 17:00:32 +01:00
inorichi d690d6e0e3 Use synthetic view's new caching method 2017-12-03 01:03:15 +01:00
inorichi 4ae00c80ca Fix many compilation warnings 2017-10-28 19:12:17 +02:00
inorichi ca2236958a Reorganize layouts by feature 2017-05-25 12:16:58 +02:00
len 72ea256906 Downloads with conductor. Remove flexible adapter 4 dependency and unused classes. 2017-05-23 20:03:16 +02:00
inorichi 2eeac0bf8b UI with Conductor (#784) 2017-05-06 15:49:39 +02:00
len 706163e7a6 Move source and network outside data 2017-01-20 21:24:31 +01:00
Bram van de Kerkhof c445ea90ba Notification Improvements (#594)
* Download notifier improvements

* Notification improvements

Added a Notification Service.

Added a Notification Activity Handler.

* Removed service. Everything is now managed by single broadcast

* Fixed some flags

* Fixed ReaderActivity call

* Code review

* Added Handler. Removed dismiss onDestroy
2017-01-20 21:18:15 +01:00
len e4d4dbbeb6 Change package name to flexible adapter v4 2017-01-12 16:24:40 +01:00
len e1a3ee1b81 Bugfixes 2016-12-18 16:35:39 +01:00
inorichi 6f297161de Download manager rewrite (#535)
* Saving to SD working

* Rename imagePath to uri

* Handle android < 21

* Minor changes

* Separate downloader from the manager. Optimize folder lookups

* Persist downloads across restarts

* Fix for #511

* Updated ReactiveNetwork. Add some documentation

* More documentation and minor fixes

* Handle persistent notifications. Other minor changes

* Improve downloader and add documentation

* Rename pageNumber to index in Page class

* Remove unused methods

* Use chop method

* Make sure dest dir is created

* Reset downloads dir preference

* Use invalidate options menu in download fragment and fix wrong condition

* Fix empty download queue after application restart

* Use addAll method in download queue to avoid too many notifications

* Inform download manager changes
2016-11-20 11:20:57 +01:00
len 6a30a75e3e Upgrade dependencies, use new Timber's overloaded method for errors 2016-09-08 18:30:29 +02:00
len 5f1a89df63 Remove newThread usages, it probably fixes random crashes 2016-07-08 18:23:03 +02:00