Oh yes you're right. I just had made a little mistake in my program! :- p But I didn't think about the fact that keeping it into the oncreate would speed up my app! Thanks for the info Mr Snowflake!
On Oct 2, 7:00 pm, MrSnowflake <[EMAIL PROTECTED]> wrote: > Indeed seems to no problem at all. > On the other hand, doing all findId's in the oncreate and put them in > fields of the activity you're working with, would speed up the app. > > On Oct 1, 11:51 pm, Joey Yandle <[EMAIL PROTECTED]> wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > I'd like to use the findViewById(int id) method outside of the > > > onCreate(bundle) to act on some buttons. How can I do that? > > > What's stopping you from calling it outside of onCreate() in the same > > way you call it inside onCreate()? > > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.5 (GNU/Linux) > > Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org > > > iD8DBQFI4/D8Nig/07RbnEsRAib9AKDG4Q9XAuAdAdFHFhvT1/m3DozcEwCeNzCG > > m9MPhKMjfc4810O8hne/qxE= > > =ppaK > > -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

