I tested my app in different phones. There is a strange thing. In all phones, the onCreate() never runs when I send my app to background using home button and come back to it. But in Nexus, the onCreate() method runs. The whole of my view is recreated which I want to avoid. I don't know how to save the views and other info in savedInstanceState. How to avoid rerunning onCreate()? Any help will be appreciated.
Edit: Even in activity life cycle, onResume() only is supposed to be executed after coming back to the activity from background.
