CalendarView icon indicating copy to clipboard operation
CalendarView copied to clipboard

Bug: very unresponsive

Open AndroidDeveloperLB opened this issue 8 years ago • 5 comments

it's so slow that I can get ANR...

AndroidDeveloperLB avatar Oct 24 '17 08:10 AndroidDeveloperLB

@AndroidDeveloperLB what do you mean by ANR

mahendramahi avatar Oct 25 '17 07:10 mahendramahi

I mean this: https://developer.android.com/training/articles/perf-anr.html

The app lags so much that it barely responds to what I do. I even got an ANR dialog because of this.

AndroidDeveloperLB avatar Oct 25 '17 07:10 AndroidDeveloperLB

@AndroidDeveloperLB thanks to provide url .... its easy to understand that what is issue ... i think you fetch data from anywhere to draw calendar view ..... make sure that all work do in worker thread not in main thread ANR dialog show bcz we do lot of work in main thread and our ui not able to respond..

mahendramahi avatar Oct 25 '17 10:10 mahendramahi

I didn't use the library. I used the sample of the repo. I didn't change it at all. See here how slow it is: device-2017-10-25-140315.zip And that's on a good device (Nexus 5x with Android O) ...

AndroidDeveloperLB avatar Oct 25 '17 11:10 AndroidDeveloperLB

@AndroidDeveloperLB .. Thanks for video ... but i m not able to see ANR dialog ...

See here how slow it

during Data reflaction it will take time ... i m working on it ... i will update it ASAP ... but Please tell me that how can you get that ANR dialog ... because i never get it

mahendramahi avatar Oct 25 '17 11:10 mahendramahi