ThreadsViewModelFactory

constructor(query: QueryThreadsRequest)

Parameters

query

The QueryThreadsRequest used to load threads.


constructor(threadLimit: Int = ThreadListController.DEFAULT_THREAD_LIMIT, threadReplyLimit: Int = ThreadListController.DEFAULT_THREAD_REPLY_LIMIT, threadParticipantLimit: Int = ThreadListController.DEFAULT_THREAD_PARTICIPANT_LIMIT)

Deprecated

Use ThreadsViewModelFactory(QueryThreadsRequest) instead, to provide more query options such as filtering and sorting.

Creates a factory instance with the specified parameters.

Parameters

threadLimit

The number of threads to load per page.

threadReplyLimit

The number of replies per thread to load.

threadParticipantLimit

The number of participants per thread to load.

See also