What is the best way to carry data over between onPause & onResume?

Posted by kefs on Stack Overflow See other posts from Stack Overflow or by kefs
Published on 2010-05-30T03:13:56Z Indexed on 2010/05/30 3:22 UTC
Read the original article Hit count: 174

Filed under:
|

I'm having a hard time figuring out the best way to pass simple values from onPause and onResume in the Android activity lifecycle. I understand how to use get and put extra bundles for activity to activity data, but does that work for passing data between the same activity? Should i used SharedPreferences?

© Stack Overflow or respective owner

Related posts about android

Related posts about android-sdk