문제

So I have created a custom AdapterView for a pie chart view that I'm using. I'm unsure of what I'm doing wrong but the pie chart is pretty choppy when I try to rotate it. I suspect too much drawing is going on as traceview shows a lot of calls to Canvas.nDrawDisplayList, which is not directly in my control.

I've placed a sample project on github to checkout (https://github.com/saulpower/ExpandablePieChart). It is a cool little library if I can get it working!

도움이 되었습니까?

해결책

Moved everything to a surfaceview and got pretty good performance now.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top