nextcloud / nextcloud/talk-android

Migrate UsersRepository+UserManager to coroutines

Open
#4,609 0 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.