Fix test compilation
This commit is contained in:
parent
c47ce5bc1c
commit
d702d3d265
6 changed files with 52 additions and 23 deletions
|
|
@ -32,10 +32,10 @@ import kotlinx.collections.immutable.toImmutableList
|
|||
|
||||
import javax.inject.Inject
|
||||
|
||||
/**
|
||||
* Create a new list of [TimelineItem] by grouping some of them into [TimelineItem.GroupedEvents].
|
||||
*/
|
||||
class TimelineItemGrouper @Inject constructor() {
|
||||
/**
|
||||
* Create a new list of [TimelineItem] by grouping some of them into [TimelineItem.GroupedEvents].
|
||||
*/
|
||||
fun group(from: List<TimelineItem>, expandedGroups: Map<String, Boolean>): List<TimelineItem> {
|
||||
val result = mutableListOf<TimelineItem>()
|
||||
val currentGroup = mutableListOf<TimelineItem.Event>()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue