Am 17.02.2012 11:38, schrieb Graeme Geldenhuys:
On 17 February 2012 12:05, Michael Schnell<[email protected]>  wrote:
On 02/17/2012 10:27 AM, Sven Barth wrote:


Also the XML layouts allows for a more clean seperation of layout and code
;)

Which is desirable for appropriately schooled programmers but very uncommon
in the "RAD-infected" Lazarus and Delphi community ;-) .


Actually, Delphi and Lazarus also use external files for the UI. But
instead of XML, they are some pascal object files (*.lfm&  *.dfm).

The difference between Delphi/Lazarus and Android is that in the former there still exists a GUI class (descendant of TForm, TFrame, etc.) containing all available controls that needs to be instantiated. In case of Android you simply pass the ID of the layout to the containing "control" (the activity or e.g. the listview) and it instantiates all controls itself.

Regards,
Sven


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to