Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

refactor: navigation, viewmodels and stores #103

Closed
wants to merge 3 commits into from
Closed

Conversation

X1nto
Copy link
Member

@X1nto X1nto commented Dec 12, 2022

Currently, stores rely on our custom Event class, which is very unreliable when new subscribers try to observe old data. Instead of creating events, this PR makes use of Room's Flow observables to provide the latest data. Alongside that, stores now sort the data before they're emitted to viewmodel, which decreases the UI overhead since compose now doesn't need to sort channels and guilds manually.

@X1nto X1nto changed the title initial renavigation commit refactor: navigation and viewmodels Dec 12, 2022
@X1nto X1nto changed the title refactor: navigation and viewmodels refactor: navigation, viewmodels and stores Dec 13, 2022
@rushiiMachine
Copy link
Member

unnecessary anymore

@rushiiMachine rushiiMachine deleted the refactor/navigation branch March 8, 2023 20:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants