[android-developers] Re: How to save my custom view's state

2009-10-20 Thread RichardC
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 fhu...@gmail.com wrote: Hi,

[android-developers] Re: How to save my custom view's state

2009-10-20 Thread fhucho
I tested it and the methods aren't called automatically. I was talking about View.onSaveStateInstatnce, not Activity.onSaveStateInstatnce(). On Oct 20, 8:53 pm, RichardC richard.crit...@googlemail.com wrote: The framework calls your application when it wants you to save or restore your state,

[android-developers] Re: How to save my custom view's state

2009-10-20 Thread fhucho
Probably the best way to do this is to call those methods from the Activity's methods onSavedStateInstance() and onRestoreInstanceState (). On Oct 20, 10:06 pm, fhucho fhu...@gmail.com wrote: I tested it and the methods aren't called automatically. I was talking about