mihon/app/src/main/java/eu/kanade/tachiyomi
Harsh Parekh 5d8dc241d8 Update ranking (#1772)
* Add LibraryUpdateRanker

This class provides various functions to generate Comparators that can 
be used to order the manga to update.

One such ordering is by relevance:
It prioritises manga that were updated more recently.

Another Ordering is by lexicographic order:
This is the default behaviour.

* Use relevanceRanking scheme

Instead of default(noRanking/lex ranking) now mangaList is sorted with 
relevanceRanking.

* Add UI and associated variables & strings for Update Ranking.

* Use user preferences to determine update ranking scheme.

* Refactor relevanceRanking to latestFirstranking.

This name seems to better reflect the ranking scheme and frees up the 
name relevanceRanking for future use.

* Set latestFirst scheme as default.

(Changing over from lexicographic scheme)

* Fix 1

[Convert LibraryUpdateRanker to a object.](./files/82f263749f0ae775385b23dd919f1865360db969#r287513539)

[Nitpick: Add lines](./files/82f263749f0ae775385b23dd919f1865360db969#r287540256)

[Replace Java comparator](./files/82f263749f0ae775385b23dd919f1865360db969#r287539976)

[Nitpick: Add local variable](./files/82f263749f0ae775385b23dd919f1865360db969#r287514805)

* Fix 2

[Weird import](./files/82f263749f0ae775385b23dd919f1865360db969#r287513709)

[Default value](./files/82f263749f0ae775385b23dd919f1865360db969#r287540064)

[Use existing Strings](./files/82f263749f0ae775385b23dd919f1865360db969#r287514476)

[Use Library update order](./files/82f263749f0ae775385b23dd919f1865360db969#r287540204)
2019-06-09 14:32:12 +02:00
..
data Update ranking (#1772) 2019-06-09 14:32:12 +02:00
extension Fix subtle bugs when installing/loading extensions 2018-03-09 18:56:02 +01:00
network Make MAL Tracking Slightly Less Shitty (#2042) 2019-06-09 14:31:19 +02:00
source Remove internal sources 2019-04-12 19:05:18 +02:00
ui Update ranking (#1772) 2019-06-09 14:32:12 +02:00
util Add options to open catalogue in browser/webview (#1979) 2019-04-16 17:34:52 +02:00
widget MAL API Workaround (#1647) 2018-11-11 14:00:47 +01:00
App.kt Release 0.8.4 2019-04-13 15:10:44 +02:00
AppModule.kt Fix extensions installer on old Android versions. Fix deadlock on devices with 1-2 cores 2018-02-06 11:42:38 +01:00
Migrations.kt Remove local broadcast receiver to prevent race conditions (#1123) 2017-12-11 20:01:28 +01:00