hi all , not sure if it's a bug or i'm using that in the wrong place.
If i have following line (s ) of code in onCreate ()
iconView.setImageResource(R.drawable.my_icon);
And ONLY if my device(Droid) or emulator running 2.0 in landscape it
cause activity go through lifecycle endlessly like described in this
thread :
http://groups.google.com/group/android-developers/browse_thread/thread/d3d6f944c6167952
If i move code to onStart() - life is good again.
Weird thing it only happens if i'm testing 2.0 and only landscape. I
realize that onCreate may be not the best choice to put such things
in, but still it's weird that it doesn't work only in landscape.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to