-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
saving scroll position in reader screen
- Loading branch information
1 parent
69c3d7d
commit c51a207
Showing
34 changed files
with
386 additions
and
459 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 10 additions & 4 deletions
14
domain/src/main/java/org/ireader/domain/models/SortType.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
package org.ireader.domain.models | ||
|
||
sealed class SortType(val name: String, val index: Int) { | ||
object DateAdded : SortType("Date Added", 0) | ||
object Alphabetically : SortType("Alphabetically", 1) | ||
object LastRead : SortType("Last Read", 2) | ||
object TotalChapter : SortType("TotalChapter", 3) | ||
object Alphabetically : SortType("Alphabetically", 0) | ||
object LastRead : SortType("Last Read", 1) | ||
object LastChecked : SortType("Last Checked", 2) | ||
object Unread : SortType("Unread", 3) | ||
object TotalChapters : SortType("Total Chapters", 4) | ||
object LatestChapter : SortType("Latest Chapter", 5) | ||
object DateFetched : SortType("Date Fetched", 6) | ||
object DateAdded : SortType("Date Added", 7) | ||
} | ||
|
||
sealed class FilterType(val name: String, val index: Int) { | ||
object Disable : FilterType("Disable", 0) | ||
object Unread : FilterType("Unread", 1) | ||
object Downloaded : FilterType("Downloaded", 2) | ||
object Completed : FilterType("Completed", 3) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 0 additions & 37 deletions
37
.../main/java/org/ireader/domain/use_cases/local/book_usecases/SubscribeAllInLibraryBooks.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.