Flutterアプリ開発で、ユーザーの設定や状態を永続化したい場面はよくありますよね。そんな時に使われるのがSharedPreferencesです。しかし、クリーンアーキテクチャ(MVVMパターン)で開発する場合、単純にSharedPreferencesを直接使うのではなく、適切な抽象化が ...
こんにちは、ネッシーです。ナビタイムジャパンで『auカーナビ』アプリのAndroid/サーバーサイド開発を担当しています ...
Often you'll find it is necessary to store certain options persistently throughout the lifetime of the application. Using the SharedPreferences interface is the perfect way to do this! This tutorial ...
In this tutorial we learned how to implement Night Mode to our Android app and how to save Night Mode state using SharedPreferences ...