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

[Epic] Wasm/Skia ListView improvements #234

Open
4 of 10 tasks
Tracked by #4309
jeromelaban opened this issue Oct 2, 2018 · 7 comments
Open
4 of 10 tasks
Tracked by #4309

[Epic] Wasm/Skia ListView improvements #234

jeromelaban opened this issue Oct 2, 2018 · 7 comments
Labels
area/skia ✏️ Categorizes an issue or PR as relevant to Skia difficulty/challenging 🤯 Categorizes an issue for which the difficulty level is reachable with internals understanding epic kind/enhancement New feature or request platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform

Comments

@jeromelaban
Copy link
Member

jeromelaban commented Oct 2, 2018

I'm submitting a...

  • Feature request

Current behavior

Current ListView implementation for WebAssembly/Skia/macOS is not at feature parity with iOS/Android/UWP:

More to be added in this list.

Expected behavior

Support more features.

Affected platform(s):

  • WebAssembly
@dr1rrb
Copy link
Member

dr1rrb commented Sep 12, 2019

Note: Items not always appearing when scrolling seems to be fixed with this commit.

Scrolling offsets was parsed as int while we usually get double. This was causing the managed ScrollViewer to think that it was at the top, while the native was actually much lower.

The fix is in the 'iosTouches' feature branch, I'll merge it in master soon.

@davidjohnoliver davidjohnoliver changed the title WebAssembly ListView [WASM] WebAssembly ListView Dec 13, 2019
@jeromelaban jeromelaban added the difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. label Feb 15, 2021
@MartinZikmund MartinZikmund added difficulty/challenging 🤯 Categorizes an issue for which the difficulty level is reachable with internals understanding and removed difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Jun 4, 2021
@MartinZikmund MartinZikmund changed the title [WASM] WebAssembly ListView [WASM] ListView improvements Oct 24, 2022
@MartinZikmund MartinZikmund changed the title [WASM] ListView improvements Epic: WASM ListView improvements May 1, 2023
@jeromelaban jeromelaban added the area/skia ✏️ Categorizes an issue or PR as relevant to Skia label Jun 27, 2023
@jeromelaban jeromelaban changed the title Epic: WASM ListView improvements Epic: Wasm/Skia ListView improvements Jun 27, 2023
@MartinZikmund MartinZikmund changed the title Epic: Wasm/Skia ListView improvements [Epic] Wasm/Skia ListView improvements Nov 6, 2023
@ritt-app
Copy link

Hi there! Is there any approximate timeline for the implementation of virtualization for Gridview (i.e. support for ItemsWrapGrid) for Skia? I tried to create a simple grid of a few thousand items, and it nearly crashed my machine due to the lack of virtualization. For me, this is the final roadblock preventing me from adopting Uno!

@jeromelaban
Copy link
Member Author

@ritt-app you may want to try the ItemsRepeater instead, it also supports virtualization.

@ritt-app
Copy link

@jeromelaban Thanks for the prompt reply. While it is possible, I would have to recreate UI features like selection and grouping with ItemsRepeater, while not benefitting from customization since I just need a standard GridView experience.

Anyway, I just wanted to thank you and Uno team for creating such an amazing product!

@jeromelaban
Copy link
Member Author

jeromelaban commented Jun 10, 2024

Thanks for your kind words!

Grouping would have to be done manually, we offer an ItemsRepeater selection behavior in the uno toolkit, which may help. For grouping, indeed it's not there by default. It could be that community members have implemented parts of it.

@HakanL
Copy link

HakanL commented Jun 10, 2024

@ritt-app I was in a similar situation, I needed grouping and I was using the ListView. I ended up using the ItemsRepeater, yes it was some work to refactor the UI code, but in the end it works really well and I was able to implement the header (grouping) I needed as well.

@ritt-app
Copy link

@jeromelaban @HakanL Thanks for the advice! I will look more into ItemsRepeater and uno toolkit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/skia ✏️ Categorizes an issue or PR as relevant to Skia difficulty/challenging 🤯 Categorizes an issue for which the difficulty level is reachable with internals understanding epic kind/enhancement New feature or request platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform
Projects
None yet
Development

No branches or pull requests

7 participants