FollowerModelDataService

interface FollowerModelDataService : IAppDatabase

Service part for work with model FollowerModel

Functions

clearCacheAfterLogout
Link copied to clipboard
open suspend override fun clearCacheAfterLogout()

Performed when the user logs out

clearFollowerModel
Link copied to clipboard
open suspend fun clearFollowerModel()

Remove all models

countFollowerModel
Link copied to clipboard
open suspend fun countFollowerModel(): Int

Count all models

insertFollowerModel
Link copied to clipboard
open suspend fun insertFollowerModel(vararg models: FollowerModel)

Fun for insert models

pagingSourceFollowerModels
Link copied to clipboard
open fun pagingSourceFollowerModels(): PagingSource<Int, FollowerModel>

Get PagingSource for paging list

Properties

dao
Link copied to clipboard
private val dao: FollowerModelDao

Doa model FollowerModel

db
Link copied to clipboard
abstract override val db: AppDatabase

Base room db

Inheritors

AppDataService
Link copied to clipboard