value exist in sharedPreferences but cant get Kotlin Andriod
I have a code with sharedPreferences file that contain LoggedInUsername.
i am getting this data from firestore and put it into sharedPrefernce file.
but when i want to get that username nothing is shown.
here is the code while putting the string into sharedPreference file:
val sharedPreferences = activity.getSharedPreferences(
val editor :...