nextcloud / nextcloud/talk-android
Migrate UsersRepository+UserManager to coroutines
Open
@mahibi is already working on this.
Since Jan 15, 2025.
1. to develop
- Dominant language
- Kotlin
- Stars
- 739
- Forks
- 321
- Avg merge
- 14h 59m
- Merged PRs (30d)
- 151
Description
Classes related to Users, e.g.
- UsersRepository
- UserManager
- CurrentUserProviderImpl
have to be migrated from RxJava to coroutines.
Similar to the current implementation with RxJava, in CurrentUserProviderImpl a coldFlow to hotFlow conversion has to be made so the database is not queried every time.
userManager.currentUser.blockingGet() (or it's coroutine pendent) should not be queried throughout the code but CurrentUserProviderImpl should be used instead.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.