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

CollectionView lagging on start scrolling for Android #8919

Open
asafgo opened this issue Jul 22, 2022 · 7 comments
Open

CollectionView lagging on start scrolling for Android #8919

asafgo opened this issue Jul 22, 2022 · 7 comments
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView legacy-area-perf Startup / Runtime performance platform/android 🤖 t/bug Something isn't working t/perf The issue affects performance (runtime speed, memory usage, startup time, etc.)
Milestone

Comments

@asafgo
Copy link

asafgo commented Jul 22, 2022

Description

When scrolling a CollectionView, the scrolling at the start is lagging on Android platform.

collectionview.mp4

Steps to Reproduce

Download the repo from here https://github.com/asafgo/MAUI_CollectionView

Version with bug

6.0.408 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 11

Did you find any workaround?

No

Relevant log output

No response

@asafgo asafgo added s/needs-verification Indicates that this issue needs initial verification before further triage will happen t/bug Something isn't working labels Jul 22, 2022
@jsuarezruiz jsuarezruiz added legacy-area-perf Startup / Runtime performance platform/android 🤖 labels Jul 22, 2022
@jfversluis
Copy link
Member

Thanks @asafgo did you also test this on other platforms? Did you see the same there as well? Is there any code that you added which made this behavior happen suddenly? Or maybe some code changes with which you saw a change in this behavior?

@jfversluis jfversluis added the s/needs-info Issue needs more info from the author label Jul 25, 2022
@ghost
Copy link

ghost commented Jul 25, 2022

Hi @asafgo. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@jfversluis jfversluis removed the s/needs-verification Indicates that this issue needs initial verification before further triage will happen label Jul 25, 2022
@asafgo
Copy link
Author

asafgo commented Jul 25, 2022

Hi @jfversluis I wanted to test it on my iPhone but unfortunately I am receiving the error "Could not find any available provisioning profiles for MonkeyFinder on iOS" when trying to deploy to my iPhone.
On Windows Machine there is no problem and CollectionView scrolling is working fine without lagging.

The code I have modified to MonkeyFinder is at class MonkeyService.cs like so
var temp = await response.Content.ReadFromJsonAsync<List<Monkey>>(); for (var i = 0; i < 100; i++) { foreach (var item in temp) { monkeyList.Add(item); } }
in order to create a very large list to be able to see how CollectionView will managed.

@ghost ghost added s/needs-attention Issue has more information and needs another look and removed s/needs-info Issue needs more info from the author labels Jul 25, 2022
@Dreamescaper
Copy link

I have noticed that CollectionView creates more elements from ItemTemplate when you start scrolling, probably that causes the lag. Is it possible to add more items initially, so that it wouldn't need to to that on scroll?

@asafgo
Copy link
Author

asafgo commented Aug 2, 2022

I have just deployed the project to my iPhone SE and CollectionView is working smooth without any lags. so the problem is with Android.

Untitled.mp4

@mattleibow mattleibow added this to the Backlog milestone Aug 22, 2022
@ghost
Copy link

ghost commented Aug 22, 2022

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

@mattleibow mattleibow removed the s/needs-attention Issue has more information and needs another look label Aug 22, 2022
@homeyf homeyf added s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage labels May 16, 2023
@homeyf
Copy link
Collaborator

homeyf commented May 16, 2023

Verified this issue with Visual Studio Enterprise 17.6.0 Preview 7.0. Can repro on android platform with above project.
repro project: https://github.com/asafgo/MAUI_CollectionView
demo1

@Eilon Eilon added the t/perf The issue affects performance (runtime speed, memory usage, startup time, etc.) label May 10, 2024
@PureWeen PureWeen added area-controls-collectionview CollectionView, CarouselView, IndicatorView and removed s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView legacy-area-perf Startup / Runtime performance platform/android 🤖 t/bug Something isn't working t/perf The issue affects performance (runtime speed, memory usage, startup time, etc.)
Projects
None yet
Development

No branches or pull requests

8 participants