-
Notifications
You must be signed in to change notification settings - Fork 1
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
ENH: Wrap-around scrolling through DynamicViews #74
Comments
I found this in the LVGL forums: https://forum.lvgl.io/t/tab-view-circular-scrolling/2473/11 (If the link doesn't take you to it, look at the post from June 22, by kisvegabor.) |
Yesterday I was trying to get this stuff working, but we're running LVGL 7 version and this code is v8 only. So we first need to add support for v8 of LVGL and then we would be able to make this code working. plan B: Maybe I could use what we already have with following algorithm: We have 3 views + watch face: Startup position - ( ) is fully in user view This way we could simulate desired outcome. Will need to test it first if there are no artifacts during scrolling. |
So all of the views would be represented in some kind of container, and each time a swipe is detected, the views get moved within the container? Looks like it should work. RE: artifacts, you might just need to do some kind of "clear screen" before an after each swipe is completed? |
We will still use |
After you reach the last DynamicView when swiping, the next swipe would "wrap around" back to the Watch's home screen.
The text was updated successfully, but these errors were encountered: