Hi,

My activity displays a text view where the text is constantly changed
with updates from a LocationListener. When returning to the activity
after navigating away, the text view comes back with the
savedInstanceState state but any changes to the text in the text view
dont. How do i get the saved instance to save my text view with its
current text when navigating away?

exerts from my layout and values files.

...

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android";
        android:id="@+id/MGScrollView"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">

    <TextView android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:id="@+id/MGTextView"
                  android:text="@string/MGtvString"/>
</ScrollView>
...

...
<string name="MGtvString">Welcome to ...\n</string>
...

My activity then changes the text in the MGTextView.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to