AsyncArticleList

class AsyncArticleList @JvmOverloads constructor(gallId: String, searchKeyword: String, searchType: ArticleList.SearchType = ArticleList.SearchType.ALL, page: Int = 1, recommend: Boolean = false, notice: Boolean = false, headId: Int = 0, session: Session? = null)

Constructors

Link copied to clipboard
constructor(gallId: String, page: Int = 1, recommend: Boolean = false, notice: Boolean = false, headId: Int = 0, session: Session? = null)
constructor(gallId: String, searchKeyword: String, page: Int = 1, recommend: Boolean = false, notice: Boolean = false, headId: Int = 0, session: Session? = null)
constructor(gallId: String, searchKeyword: String, searchType: ArticleList.SearchType = ArticleList.SearchType.ALL, page: Int = 1, recommend: Boolean = false, notice: Boolean = false, headId: Int = 0, session: Session? = null)

Functions

Link copied to clipboard
suspend fun getGallInfoAsync(): Deferred<ArticleList.GallInfo>
Link copied to clipboard
suspend fun getGallListAsync(): Deferred<List<ArticleList.GallList>>
Link copied to clipboard
suspend fun requestAsync(): Deferred<Unit>