Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Lag when scrolling (images too large) #179

Open
tydahlwave opened this issue Aug 27, 2018 · 1 comment
Open

Lag when scrolling (images too large) #179

tydahlwave opened this issue Aug 27, 2018 · 1 comment

Comments

@tydahlwave
Copy link
Contributor

There is a noticeable lag when scrolling fast on any tab with lots of images. I believe this is due to the images being very large.

There are a few solutions we could explore:

  1. Reduce image size on server (this would reduce the network payload sizes as well, reducing the network data usage footprint of the app which is pretty high - WIFI recommended)
  2. Reduce image size on client prior to saving it locally (the downloaded image would be full scale, but the stored image would be smaller. The app would then use the smaller image when displaying it, theoretically fixing the lag)
  3. Reduce the image size each time it is about to be displayed (it may take a while to reduce the size of each image prior to displaying it, potentially displaying a empty space to the user while it is being shrunk. However, this might also fix the lag - NOT 100% CERTAIN)
@tydahlwave
Copy link
Contributor Author

Firebase Storage allows the specification of max image size when downloading images stored with it.

@tydahlwave tydahlwave modified the milestones: 2.0 Release, 2.1 Release Sep 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant