codelab-kotlin-coroutines icon indicating copy to clipboard operation
codelab-kotlin-coroutines copied to clipboard

At step 9 TitleRefreshCallback is not required any more

Open danaimset opened this issue 5 years ago • 1 comments
trafficstars

Prompt to remove TitleRefreshCallback callback cause it's not using anymore.

danaimset avatar Jul 31 '20 11:07 danaimset

There is also reference to removed function in KDoc:

/** * [LiveData] to load title. * * This is the main interface for loading a title. The title will be loaded from the offline * cache. * * Observing this will not cause the title to be refreshed, use [TitleRepository.refreshTitleWithCallbacks] * to refresh the title. */ val title: LiveData<String?> = titleDao.titleLiveData.map { it?.title }

danaimset avatar Jul 31 '20 11:07 danaimset