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.
我想在旋转后继续显示片段的上下文菜单(在手机中)。
简单的情况是
我怎样才能保留它?android:orientation,setRetainInstance不是我测试的答案
android:orientation
setRetainInstance