简体   繁体   中英

Custom AdapterView for Pie Chart

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!

将所有内容移至Surfaceview并获得了相当不错的性能。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM