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.
データベースにのみ保存する設定に ListPreference を再利用しています。設定ファイルにデータを保存/永続化しないようにするにはどうすればよいですか?
それをサブクラス化し、オーバーライドshouldPersist()してfalseを返します。
shouldPersist()
私はそれを自分でやったことはありませんが、オーバーライドを検討しましたonDialogClosed()か?
onDialogClosed()