Searched refs:PeopleHubModel (Results 1 – 5 of 5) sorted by relevance
105 private val dataSource: DataSource<@JvmSuppressWildcards PeopleHubModel>109 var model: PeopleHubModel? = null in registerListener()118 val dataSub = dataSource.registerListener(object : DataListener<PeopleHubModel> { in registerListener()119 override fun onDataChanged(data: PeopleHubModel) { in registerListener()139 private val model: PeopleHubModel,
103 ) : DataSource<PeopleHubModel> { in extractPersonKey()106 private val dataListeners = mutableListOf<DataListener<PeopleHubModel>>() in extractPersonKey()171 override fun registerListener(listener: DataListener<PeopleHubModel>): Subscription { in extractPersonKey()199 private fun getPeopleHubModelForCurrentUser(): PeopleHubModel? { in extractPersonKey()296 fun getPeopleHubModel(): PeopleHubModel = PeopleHubModel(inactivePeople) in getPeopleHubModel()
42 data class PeopleHubModel(val people: Collection<PersonModel>) class
31 abstract fun peopleHubDataSource(impl: PeopleHubDataSourceImpl): DataSource<PeopleHubModel>
104 val fakeModel = PeopleHubModel(listOf(fakePerson)) in testViewModelDataSourceTransformsModel()