Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我使用
getLastNonConfigurationInstance()
Eclipse IDE 告诉我它已被弃用。谁能告诉我这个方法的替代品?
从文档:
此方法在 API 级别 13 中已弃用。请改用新的 Fragment API setRetainInstance(boolean)