the activity gets destroyed and again gets restarted..thats the reason..

On Wed, Nov 19, 2008 at 2:18 PM, Gameboy <[EMAIL PROTECTED]> wrote:

>
> I want to change content of edit text after changing orientaton, but
> seems I get strange problem:
>
> I use
> mEditor = (EditText) findViewById(R.id.editor); in onCreate(), when
> changing orientation, onCreate() will be invoked again, however seems
> mEditor becomes new one after changing orientaton each time, mEditor
> is not the same original instance before changing orientation, who can
> tell me why and how can I get the original one?
>
> I found another trick way but still look forward reason or better
> path.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to