Skip to content

Commit

Permalink
Update SelectionState.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
GuhDoy committed May 14, 2024
1 parent 9a8557c commit 097587c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/src/main/java/me/gm/selection/SelectionState.kt
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ abstract class DanglingKeysSupport<K, V>(
) : SelectionSupport<K, V>(initialSelection)

class KeySelectionState<V>(
initialSelection: Iterable<Pair<Any, V>>,
initialSelection: Iterable<Pair<Any, V>> = emptyList(),
danglingKeys: MutableList<Any> = mutableListOf()
) : DanglingKeysSupport<Any, V>(initialSelection, danglingKeys) {

Expand All @@ -154,7 +154,7 @@ class KeySelectionState<V>(
}

class IndexSelectionState<V>(
initialSelection: Iterable<Pair<Int, V>>
initialSelection: Iterable<Pair<Int, V>> = emptyList()
) : SelectionSupport<Int, V>(initialSelection) {

companion object {
Expand Down

0 comments on commit 097587c

Please sign in to comment.