primitive vs managed types on android - which one should i use in my app
<p>im trying to port an iphone app to android. i am completely new to java and android environment</p>

<p>i see different code samples on the internet, some use int and boolean where as some use Integer and Boolean</p>

<p>i wanted to know the pros and cons of both and which is the best way forward?</p>

<p>since primitive types are saved on the stack and no garbage collection happens on them, are they definitely a better choice as far as performance goes?</p>

<p>what is the real benefit of primitive v/s managed types? and what is the suggested approach?</p>

<p>in my app performance is crucial...</p>

<p>thanks in advance</p>
