问题
When i use
getLastNonConfigurationInstance()
The Eclipse IDE tells me that it is depreceated.Can anybody tell me the substitute of this method?
回答1:
From documentation:
This method was deprecated in API level 13. Use the new Fragment API setRetainInstance(boolean) instead
来源:https://stackoverflow.com/questions/18163434/getlastnonconfigurationinstance-substitute-android