Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache more server responses for faster loading on app-switch/startup #23

Open
MrApplejuice opened this issue Apr 13, 2023 · 0 comments
Open
Labels
idea This is a rough idea. Nothing concretely is planned.

Comments

@MrApplejuice
Copy link
Collaborator

Problem

When using the app, the history is most useful when it allows a "quick glance" of the past activities. For this to work well, it should load as fast as possible. However, when the app is opened now, it takes a second or two - sometimes even longer - for any items to appear.

This is likely to get worse when more activities are fetched for the list of

Solution

Show an indicator that loading is happening, but complement this by showing a cached version of the list that was loaded when the app was previously launched.

Details

I would like to do this by abstracting and improving the entire ChildObserver-logic. The class has grown overly complicated, but could easily do this b breaking it into abstract submodules. Kind of a lot of work but should pay off big time down the line.

@MrApplejuice MrApplejuice added the idea This is a rough idea. Nothing concretely is planned. label Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea This is a rough idea. Nothing concretely is planned.
Projects
None yet
Development

No branches or pull requests

1 participant