Why scrolling TListView requires a complete redraw of the form - Delphi Firemonkey

Starting with an empty mobile app, I added TlistViewa TCircleand a TMemo. None of the controls had any alignment except the default value, and all of them are direct children of the main form.

In the OnPaint ListView event, I put this:

Memo1.Lines.Add('ListView paint'), 

For OnPaint Circle:

Memo1.Lines.Add('Circle paint');

When I started the application, the result was that scrolling through the list resulted in a lot of "Paint Listview" and "Circle paint" being added to the memo, both elements being always added at the same time. Why does scrolling through a list (or scrolling through a note) cause a complete rewriting of the form?

There is a line in the call line that makes me think that the whole form is redrawing:

Fmx.Platform.Ios.TFMXView3D.drawRect(0x14659ec0,{origin = {x = 0, y = 0}, size = {width = 768, height = 1024}})

, . , , .

+3
1

, , -, Firemonkey, . QC

Canvas FireMonkey, , , .

TRasterEffect, . , , , .

+1
source

All Articles