Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
toni-kustiana committed Sep 5, 2022
1 parent 8d5073c commit ce6961e
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,30 @@ chips.delegate = object : SlidingChipsDelegate<String> {
}
```

### Method for navigation actions on the SlidingVhipsView
### Method for navigation actions on the SlidingChipsView


```kotlin
// selected index of chip
var selectedIndex: Int = 0
```

```kotlin
// selected index of chip
var selectedItem: T? = null

// and define your equal function, for example

override fun equals(other: Any?): Boolean {
if (other is Name) {
return short == other.short
}

return false
}

```




0 comments on commit ce6961e

Please sign in to comment.