• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Performance: XML Layout vs api views

 
Ranch Hand
Posts: 187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Reto Meier and other experts,

What has better performance, the XML layout or API based dynamic views?

Regards,

Devender.
 
Ranch Hand
Posts: 136
Android Mac Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Devender,

Talking about performance I think XML would be better than using API because Dalvik Executable will convert all your classes into .dex. This dex file is bit smaller sized than a our regular compiled jars in JAVA VM. As Dalvik Vm is a register-based architecture low size dex would be run efficiently with high performance. (I am not 100% sure but it should be like this only ).

And now Programming point of view if you want to develop application with M-V-C architecture your program logic must be separated from designing and user screens.

Edit - Please have a look at here

Thanks & Regards
Pratik Goswami
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic