Searched refs:DataListener (Results 1 – 7 of 7) sorted by relevance
20 interface DataListener<in T> { interface25 fun <S, T> DataListener<T>.contraMap(mapper: (S) -> T): DataListener<S> = object : DataListener<S> { in onDataChanged()31 fun registerListener(listener: DataListener<T>): Subscription in registerListener()42 override fun registerListener(listener: DataListener<T>) = in map()
49 val personViewAdapters: Sequence<DataListener<PersonViewModel?>>82 ) : DataListener<PeopleHubViewModelFactory> { in bindView()108 override fun registerListener(listener: DataListener<PeopleHubViewModelFactory>): Subscription { in registerListener()118 val dataSub = dataSource.registerListener(object : DataListener<PeopleHubModel> { in registerListener()163 override fun registerListener(listener: DataListener<Boolean>): Subscription { in registerListener()178 private fun updateListener(listener: DataListener<Boolean>) { in updateListener()
106 private val dataListeners = mutableListOf<DataListener<PeopleHubModel>>() in extractPersonKey()171 override fun registerListener(listener: DataListener<PeopleHubModel>): Subscription { in extractPersonKey()
28 import com.android.systemui.statusbar.notification.people.DataListener in <lambda>()38 lateinit var personViewAdapters: Sequence<DataListener<PersonViewModel?>> in <lambda>()97 DataListener<PersonViewModel?> { in <lambda>()
33 import com.android.systemui.statusbar.notification.people.DataListener in <lambda>()83 override val personViewAdapters: Sequence<DataListener<PersonViewModel?>> in <lambda>()
27 override fun registerListener(listener: DataListener<T>): Subscription { in registerListener()
172 class FakeDataListener<T> : DataListener<T> {