Before starting with some basic examples, we have to deal with the fact that you can't manually create list view items at design time. TListview has been designed to work well with the LiveBinding technology (I briefly introduced LiveBindings in Chapter 1, Introducing the FireMonkey Framework, and will go into more detail on this in Chapter 6, Implementing Data Binding. If something is unclear at this point, please explore LiveBindings in more detail in Chapter 6, Implementing Data Binding, and then come back). So basically, we have some source of data providing a list of items and then we have to manipulate its representation to build our UI element.
I am going to use the TPrototypeBindSource component to have a data source available at design time. If you are unfamiliar with this component, you can think of it more or less like an in-memory dataset of randomly generated data.
In Figure 4.2, you can see a TListView&...