Sunday, May 27, 2012

[android-developers] Difference btwn following methods

I just want to know any difference is there in the following methods
like memory allocation , performance issues


TextView txtView = (TextView)findViewById(R.id. username);
txtView.setText("Method 1");

((TextView) findViewById(R.id.priority_rel_layout)).setText(priorityList[i]);

Regards,
Jovish

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate