class RedditorSearchFetcher : Fetcher<Redditor, EnvelopedRedditor>
<init> |
RedditorSearchFetcher(api: RedditApi, query: String, limit: Long = DEFAULT_LIMIT, sorting: RedditorSearchSorting = DEFAULT_SORTING, timePeriod: TimePeriod = DEFAULT_TIMEPERIOD, showAll: Boolean = false, disableLegacyEncoding: Boolean = false, getHeader: () -> HashMap<String, String>) |
getSorting |
fun getSorting(): RedditorSearchSorting |
getTimePeriod |
fun getTimePeriod(): TimePeriod |
onFetching |
fun onFetching(forward: Boolean, dirToken: String?): Listing<EnvelopedRedditor>? |
onMapResult |
fun onMapResult(pagedData: Listing<EnvelopedRedditor>?): List<Redditor> |
setSorting |
fun setSorting(newSorting: RedditorSearchSorting): Unit |
setTimePeriod |
fun setTimePeriod(newTimePeriod: TimePeriod): Unit |
DEFAULT_SORTING |
val DEFAULT_SORTING: RedditorSearchSorting |
DEFAULT_TIMEPERIOD |
val DEFAULT_TIMEPERIOD: TimePeriod |