Skip to content

Improve ChooseAccountDialogFragment #5095

@mahibi

Description

@mahibi

The account chooser ChooseAccountDialogFragment has the problem that accounts are shown with a delay because it's waiting for

invitationsRepository.fetchInvitations(userItem)

to finish, just to add a badge..

It should be improved to immediately show all available accounts and just update the badge whenever fetchInvitations is finished.

Maybe for some reason related to this, accounts are not shown at all (see #5093)

If necessary / possible without too much effort, this should also be done:

  • convert to kotlin
  • get rid of FlexibleAdapter
  • migrate to Compose

Also, keep an eye on the files app (as the code was copied from there back then) if there are some fixes.
If it makes sense and it's possible, it could also be extracted to android-common lib

Metadata

Metadata

Assignees

Labels

1. to developAccepted and waiting to be taken care of (should be only set by nextcloud employees)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions