how can I consume LiveData<PagedList<Letter>> in a dataRopsitory from an Application class?
I'm working on a feature for a letter vault project that helps keeps a letter till a latter time you want it opened...the idea is that the user receives a notification once a letter is ready to be opened. I have a function in the DataRepository that helps letter from the database with the help of paging library.
class DataRepository(private val letterDao: LetterDao) {
companion object {
const val PAGE_SIZE = 30
const val PLACEHOLDERS = true
private val PAGING_CONFIG =...