Device File Explorer
in
Android Studio, as you did in the previous, chapter and navigate to the
data/data/
com.raywenderlich.organizedsimplenote/shared_prefs
directory. You will see a
file named
com.raywenderlich.organizedsimplenote_preferences.xml
. If you
open the file, you will see something similar to the following, depending on the color
you chose:
<
map
>
<
string
name
=
"NOTE_BACKGROUND_COLOR"
>
Orange
string
>
map
>
In the next steps, you will add the code to save and retrieve the sort order and
priority filters to and from the prefs so that these settings can persist between runs
of the app along with the background color.
Do'stlaringiz bilan baham: |