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.
活動をしています。私にはプロセスがあり、これは非常に長いです。画面の向きを変更しました (縦から横へ)、プロセスが再開されました... 画面の向きを変更するときに onCreate() を無効にしたいです。
どうやってこれを作るのですか?
これを次のマニフェストに追加します<activity>。
<activity>
android:configChanges="keyboardHidden|orientation|screenSize"