getPaged

open override fun getPaged(pageSize: Int): LiveData<PagedList<Event>>

Handy method to use in conjunction with PagedListAdapter to build paged lists.

Return

A LiveData object of PagedList of elements

Parameters

pageSize

Length of the page