In my android application I just want development tips
,
If i want to just set value/image only one time at onCreate().
1 way) Which is best way, by initialize object.
Or
2 way) using anonymous object.
((TextView) findViewById(R.id.txtView_footer_left)).setText("Text added at run time");
Above case with different condition, now i want to access textview/imageview 2 or 3 times then which way is better 1st way or 2nd way.
Static:
in which cash we should use static
keyword?
final static:
in which cash we should use final static
keyword?
My main agenda is.
i want to write code which is more robust, faster and less memory consumption.
let me also help in GC behavior.