Hi,
I have an app that includes two TableLayouts whose rows are filled in
dynamically. Whenever I rotate the device, the rows are cleared for both
tables. This only happens with the tables, not with other views, like
TextViews. The relevant XML and Java code are as follows:
*play.xml:*
On Fri, Jan 28, 2011 at 11:31 AM, FractalBob ruom...@gmail.com wrote:
Any ideas would be appreciated.
http://developer.android.com/guide/topics/fundamentals.html#actlife
-
TreKing
Thanks for the link. I read it but I couldn't see the relevance. Does device
rotation require that the activity state, including the entire row data, be
saved by the app?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
On Fri, Jan 28, 2011 at 11:55 AM, FractalBob ruom...@gmail.com wrote:
Thanks for the link. I read it but I couldn't see the relevance. Does
device rotation require that the activity state, including the entire row
data, be saved by the app?
If you are populating it dynamically, as you
28.01.2011 20:58, TreKing пишет:
Remember, rotating the device causes a change in configuration which
cause the system to kill and restart your app. Built-In views will
normally retain their state, but other changes you've made dynamically
are your responsibility.
They cause Android to
On Fri, Jan 28, 2011 at 12:04 PM, Kostya Vasilyev kmans...@gmail.comwrote:
They cause Android to destroy and recreate the Activity. The app (meaning
the process) keeps running.
Yeah, sorry, by app I meant what you're currently running / seeing on the
screen (meaning the activity). Good
Thanks, that puts me in the right direction!
--
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
Thanks for the link, Kostya.
Yeah, I understood that TreKing meant Activity, not the app process.
--
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
8 matches
Mail list logo