The framework calls your application when it wants you to save or
restore your state, so you do not call these methods.

See step 7 in the Notepad tutorial:
http://developer.android.com/guide/tutorials/notepad/notepad-ex3.html

--
RichardC


On Oct 20, 4:27 pm, fhucho <[email protected]> wrote:
> Hi,
> I have a custom View, what is the proper way of saving / restoring
> it's state after orientation change. I know I should implement
> onSaveStateInstatnce() and onRestoreInstanceState() methods, but how
> exactly (with which argumets) and when I should call them?
--~--~---------~--~----~------------~-------~--~----~
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