You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current i use MAUI to make a crossplatform ListView, i get a idea from iOS's TableView, it be make base on ScrolllView. When a scroll gesture be trigger, we can re arrange items, that will let content scroll, and we can only use little items to fill visiable rectangle, such as we have 1000 data, but we need only use 20 items to show they, so performance is nice.
I want this idea run on WinUI3, but i find ScrollViewer will translate content. See video, when scroll fast, will show some blank. When i first run it on Android, i also find this issue, it will translate Android's canvas when scroll, i use a inverse translate to fix it in Android's draw method, blank disappeared:
sharex-20230526102410.mp4
But i don't know how to do it in WinUI3, anyone can help?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Current i use MAUI to make a crossplatform ListView, i get a idea from iOS's TableView, it be make base on ScrolllView. When a scroll gesture be trigger, we can re arrange items, that will let content scroll, and we can only use little items to fill visiable rectangle, such as we have 1000 data, but we need only use 20 items to show they, so performance is nice.
I want this idea run on WinUI3, but i find ScrollViewer will translate content. See video, when scroll fast, will show some blank. When i first run it on Android, i also find this issue, it will translate Android's canvas when scroll, i use a inverse translate to fix it in Android's draw method, blank disappeared:
sharex-20230526102410.mp4
But i don't know how to do it in WinUI3, anyone can help?
Beta Was this translation helpful? Give feedback.
All reactions