class ContributionsFetcher : Fetcher<Contribution, EnvelopedContribution>
<init> |
ContributionsFetcher(api: RedditApi, username: String? = null, where: String, limit: Long = DEFAULT_LIMIT, sorting: ContributionsSorting = DEFAULT_SORTING, timePeriod: TimePeriod = DEFAULT_TIMEPERIOD, disableLegacyEncoding: Boolean = false, getUsername: (() -> String)? = null, getHeader: () -> HashMap<String, String>) |
getSorting |
fun getSorting(): ContributionsSorting |
getTimePeriod |
fun getTimePeriod(): TimePeriod |
onFetching |
fun onFetching(forward: Boolean, dirToken: String?): Listing<EnvelopedContribution>? |
onMapResult |
fun onMapResult(pagedData: Listing<EnvelopedContribution>?): List<Contribution> |
requiresTimePeriod |
fun requiresTimePeriod(): Boolean |
setSorting |
fun setSorting(newSorting: ContributionsSorting): Unit |
setTimePeriod |
fun setTimePeriod(newTimePeriod: TimePeriod): Unit |
DEFAULT_SORTING |
val DEFAULT_SORTING: ContributionsSorting |
DEFAULT_TIMEPERIOD |
val DEFAULT_TIMEPERIOD: TimePeriod |