I think this typically a problem with a extension functions, it’s really easy to add new ones and not know whether something similar has been implemented. Having all extensions/similar extension in the same files can help, for example:
- extensions/RxExtensions.kt
- extensions/AndroidExtensions.kt
etc.
Also having a good PR process/Danger rules/custom linting rules to limit or watch for new ones being added should help resolve the problem to some extent