Home
last modified time | relevance | path

Searched refs:AdapterItemWrapper (Results 1 – 7 of 7) sorted by relevance

/compose/integration-tests/macrobenchmark-target/src/main/java/androidx/compose/integration/macrobenchmark/target/complexdifferenttypeslist/common/
DBaseAdapterItemType.kt21 infix fun BaseAdapterItemType.with(data: Any): AdapterItemWrapper =
22 AdapterItemWrapper(type = this, data = data)
24 infix fun BaseAdapterItemType.withId(id: Any): AdapterItemWrapper =
25 AdapterItemWrapper(type = this, data = null, id = id)
27 infix fun AdapterItemWrapper.and(newId: Any?): AdapterItemWrapper = copy(id = newId)
29 infix fun AdapterItemWrapper.sticky(sticky: Boolean): AdapterItemWrapper = copy(isSticky = sticky)
DAdapterItemWrapperDiffCallback.kt22 class AdapterItemWrapperDiffCallback : DiffUtil.ItemCallback<AdapterItemWrapper>() {
26 oldItem: AdapterItemWrapper, in areItemsTheSame()
27 newItem: AdapterItemWrapper in areItemsTheSame()
34 oldItem: AdapterItemWrapper, in areContentsTheSame()
35 newItem: AdapterItemWrapper in areContentsTheSame()
DAdapterItemWrapper.kt19 class AdapterItemWrapper( class
38 other as AdapterItemWrapper in equals()
54 ): AdapterItemWrapper =
55 AdapterItemWrapper(type = type, data = data, id = id, isSticky = isSticky)
DBaseListAdapter.kt25 ListAdapter<AdapterItemWrapper, BaseViewHolder<*>>(AdapterItemWrapperDiffCallback()) where
61 open fun updateItems(newItems: List<AdapterItemWrapper>, callback: (() -> Unit)? = null) { in getItemViewType()
DLazyColumnExt.kt25 listData: List<AdapterItemWrapper>, in <lambda>()
/compose/integration-tests/macrobenchmark-target/src/main/java/androidx/compose/integration/macrobenchmark/target/complexdifferenttypeslist/
DSquadScreen.kt22 …roidx.compose.integration.macrobenchmark.target.complexdifferenttypeslist.common.AdapterItemWrapper in <lambda>()
38 fun SquadScreen(items: List<AdapterItemWrapper>) { in <lambda>()
DSquadMapper.kt19 …roidx.compose.integration.macrobenchmark.target.complexdifferenttypeslist.common.AdapterItemWrapper in <lambda>()
35 arrayListOf<AdapterItemWrapper>().apply { in <lambda>()