Searched refs:itemViewType (Results 1 – 6 of 6) sorted by relevance
599 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnGroupCollapsed() local601 assertThat(itemViewType).isEqualTo(NotificationViewType.GROUP_COLLAPSED); in getItemViewType_shouldReturnGroupCollapsed()616 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnGroupExpanded() local618 assertThat(itemViewType).isEqualTo(NotificationViewType.GROUP_EXPANDED); in getItemViewType_shouldReturnGroupExpanded()632 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnCarEmergency() local634 assertThat(itemViewType).isEqualTo(NotificationViewType.CAR_EMERGENCY); in getItemViewType_shouldReturnCarEmergency()648 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnCarWarning() local650 assertThat(itemViewType).isEqualTo(NotificationViewType.CAR_WARNING); in getItemViewType_shouldReturnCarWarning()664 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnCarInformation() local666 assertThat(itemViewType).isEqualTo(NotificationViewType.CAR_INFORMATION); in getItemViewType_shouldReturnCarInformation()[all …]
275 val itemViewType = getItemViewType(position) in getItem() constant276 when (itemViewType) { in getItem()280 throw IllegalStateException("unexpected item view type: $itemViewType") in getItem()292 val itemViewType = getItemViewType(position) in getView() constant293 when (itemViewType) { in getView()342 else -> throw IllegalStateException("unexpected item view type: $itemViewType") in getView()
55 val itemViewType: Int = getItemViewType() in onBindItemView() constant56 if (itemViewType == VIEW_TYPE_CUSTOM_SOUND) { in onBindItemView()79 if (itemViewType == VIEW_TYPE_CUSTOM_SOUND) { in onBindItemView()
116 int itemViewType = getItemViewType(position); in onBindViewHolder() local117 switch (itemViewType) { in onBindViewHolder()
107 int itemViewType = getItemViewType(position); in onBindViewHolder() local108 switch (itemViewType) { in onBindViewHolder()
386 @NonNull ViewGroup parent, int itemViewType) {