element-hq / element-hq/element-android
Replace sealed classes by sealed interfaces
Open
A-Developer-Experience
A-DevX
T-Task
- Dominant language
- Kotlin
- Stars
- 3.7k
- Forks
- 917
- PR merge metrics
- No merged PRs in 30d
Description
`sealed interface` has been introduced in Kotlin 1.5.
All `VectorViewModelAction` and `VectorViewEvents` could be sealed interface, but actually all sealed class without any member could be change to sealed interface.
It also has the advantage to declare the implementation in several files, but still in the same package.
Contributor guide
Assessment
This issue has not been assessed yet.