Searched refs:itemViewType (Results 1 – 6 of 6) sorted by relevance
520 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnGroupCollapsed() local522 assertThat(itemViewType).isEqualTo(NotificationViewType.GROUP_COLLAPSED); in getItemViewType_shouldReturnGroupCollapsed()537 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnGroupExpanded() local539 assertThat(itemViewType).isEqualTo(NotificationViewType.GROUP_EXPANDED); in getItemViewType_shouldReturnGroupExpanded()553 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnCarEmergency() local555 assertThat(itemViewType).isEqualTo(NotificationViewType.CAR_EMERGENCY); in getItemViewType_shouldReturnCarEmergency()569 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnCarWarning() local571 assertThat(itemViewType).isEqualTo(NotificationViewType.CAR_WARNING); in getItemViewType_shouldReturnCarWarning()585 int itemViewType = mCarNotificationViewAdapter.getItemViewType(2); in getItemViewType_shouldReturnCarInformation() local587 assertThat(itemViewType).isEqualTo(NotificationViewType.CAR_INFORMATION); in getItemViewType_shouldReturnCarInformation()[all …]
276 val itemViewType = getItemViewType(position) in getItem() constant277 when (itemViewType) { in getItem()281 throw IllegalStateException("unexpected item view type: $itemViewType") in getItem()293 val itemViewType = getItemViewType(position) in getView() constant294 when (itemViewType) { in getView()343 else -> throw IllegalStateException("unexpected item view type: $itemViewType") in getView()
314 final int itemViewType = getItemViewType(position); in getItem() local315 switch (itemViewType) { in getItem()321 throw new IllegalStateException("unexpected item view type: " + itemViewType); in getItem()334 final int itemViewType = getItemViewType(position); in getView() local335 switch (itemViewType) { in getView()390 throw new 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()
70 final int itemViewType = getItemViewType(); in onBindItemView() local71 if (itemViewType == VIEW_TYPE_CUSTOM_SOUND) { in onBindItemView()94 if (itemViewType == VIEW_TYPE_CUSTOM_SOUND) { in onBindItemView()
100 int itemViewType = getItemViewType(position); in onBindViewHolder() local101 switch (itemViewType) { in onBindViewHolder()