Skip to content Skip to sidebar Skip to footer

Getlastnonconfigurationinstance() Substitute Android

When i use getLastNonConfigurationInstance() The Eclipse IDE tells me that it is depreceated.Can anybody tell me the substitute of this method?

Solution 1:

From documentation:

This method was deprecated in API level 13. Use the new Fragment API setRetainInstance(boolean) instead

Post a Comment for "Getlastnonconfigurationinstance() Substitute Android"