* MangaScreen: Improve chapter list scrolling performance Process chapter title, date and read progress string ahead of time * Use enum for contentType and add key
31 lines
444 B
Kotlin
31 lines
444 B
Kotlin
package eu.kanade.presentation.manga
|
|
|
|
enum class DownloadAction {
|
|
NEXT_1_CHAPTER,
|
|
NEXT_5_CHAPTERS,
|
|
NEXT_10_CHAPTERS,
|
|
CUSTOM,
|
|
UNREAD_CHAPTERS,
|
|
ALL_CHAPTERS
|
|
}
|
|
|
|
enum class ChapterDownloadAction {
|
|
START,
|
|
START_NOW,
|
|
CANCEL,
|
|
DELETE,
|
|
}
|
|
|
|
enum class EditCoverAction {
|
|
EDIT,
|
|
DELETE,
|
|
}
|
|
|
|
enum class MangaScreenItem {
|
|
INFO_BOX,
|
|
ACTION_ROW,
|
|
DESCRIPTION_WITH_TAG,
|
|
CHAPTER_HEADER,
|
|
CHAPTER,
|
|
}
|