onCreate vs onRestoreInstanceState


#1

Before, the book tell us use onSaveInstanceState to save data which onCreate can use later.

But the section 32.5 want us use onRestoreInstanceState .

What’s the difference between onCreate and onRestoreInstanceState ?

How to use them right?

Thank you very much !