問題タブ [android-night-mode]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
java - Android Studio の NightMode トグル ボタンの状態
Androidスタジオでサードパーティのライブラリを使用しています。
github リンク: https://github.com/shrikanth7698/Night-Mode-Button
ナイトモードのトグルボタンは正常に機能しています。
アプリを閉じた後も状態を保存したい。
このtoggle.setChecked(false);
場合、 は機能していないため、共有設定を使用できません
どうすれば達成できますか?