check value exists or not using EncryptedSharedPreferences android
问题 I use the EncryptedSharedPreferences to store value while login...i want to change text in navigation drawer of home activity so when user is loggedin it will show logout else it will show login navigation drawer Loginactivity:-------- sharedPreferences = EncryptedSharedPreferences.create( "secret_shared_prefs", masterKeyAlias, baseContext, EncryptedSharedPreferences.PrefKeyEncryptionScheme.AES256_SIV, EncryptedSharedPreferences.PrefValueEncryptionScheme.AES256_GCM ) as