diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2148e8992..9023fb4ec 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -199,8 +199,10 @@ a.k.a. the Latest source entry point in the app (invoked by tapping on the "Late - When user taps on a manga, `fetchMangaDetails` and `fetchChapterList` will be called and the results will be cached. - A `SManga` entry is identified by it's `url`. - `fetchMangaDetails` is called to update a manga's details from when it was initialized earlier. - - During a backup, only `url` and `title` are stored. To restore the rest of the manga data, the app calls `fetchMangaDetails`, so all fields should be (re)filled in if possible. - `SManga.initialized` tells the app if it should call `fetchMangaDetails`. If you are overriding `fetchMangaDetails`, make sure to pass it as `true`. + - `SManga.genre` is a string containing list of all genres separated with `", "`. + - `SManga.status` is an "enum" value. Refer to [the values in the `SManga` companion object](https://github.com/tachiyomiorg/extensions-lib/blob/9733fcf8d7708ce1ef24b6c242c47d67ac60b045/library/src/main/java/eu/kanade/tachiyomi/source/model/SManga.kt#L24-L27). + - During a backup, only `url` and `title` are stored. To restore the rest of the manga data, the app calls `fetchMangaDetails`, so all fields should be (re)filled in if possible. - If a `SManga` is cached `fetchMangaDetails` will be only called when the user does a manual update(Swipe-to-Refresh). - `fetchChapterList` is called to display the chapter list. - The list should be sorted descending by the source order.