Anuranjit Maindola
Anuranjit Maindola

Reputation: 1507

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?

Upvotes: 1

Views: 2162

Answers (1)

Goran Horia Mihail
Goran Horia Mihail

Reputation: 3645

From documentation:

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

Upvotes: 3

Related Questions