High Performance Custom TListView For Delphi XE8 Firemonkey On Android And IOS


Developer Grahm Murt has released a new custom TListView control with performance enhancements for Delphi XE8 Firemonkey. Generally the built in TListView is pretty fast but there can be instances where it isn’t as fast as it could be. This custom TksListView control implements bitmap caching on each individual row of the TListView. How bitmap caching works is the items are drawn to a bitmap and not re-drawn until something in the item changes. Bitmap caching can really speed up components on mobile devices. It should run on Android, IOS, OSX, and Windows as I see some IFDEFs in the code but no specific mention of Android. If there are any Android quirts it should be easy to fix them yourself. Clicks are handled by the control and passed in to the TListViewItem with the correct mouse X and Y. If you are running into performance issues with TListView give this one a try and see if it resolves your issue. The custom control also has a few extra methods like TextOut, TextOutRight, DrawBitmap, DrawBitmapRight that allow you to easily customize each row as well. The full source code is available on GitHub and it is combined with the SlideMenu component. You should be able to use this component with Appmethod as well. Don’t forget that you could also use the native platform control on IOS as well.
Head over and download the custom high performance TListView control for Delphi XE8 Firemonkey.

Comments are closed.