Advertisement

Android Google Maps Tutorial Ep 6: Data Persistence with Files - Kotlin Android Studio Development

Android Google Maps Tutorial Ep 6: Data Persistence with Files - Kotlin Android Studio Development This video (episode 6 of 7) implements persistence by writing the contents of every map to a file which is read every time the app starts.

When the user makes a change to the map data (in our case, this only happens when the user adds a new map), we serialize the contents of the map and write it to a file. When the app is opened, we deserialize the contents of the file to recreate the list of maps.

➤ Playlist link for project:
➤ Codepath guide to data persistence:
➤ Some background on why we're not using Parcelable (it's not safe to persist):

Overview:
In these videos, we build an app which displays a map showing markers of important places. You can also create a map which gets saved to a file and can be retrieved when the app is opened. This app helps you keep track of places that matter to you, whether they’re vacation ideas or places you’ve lived.

android,androidstudio,development,programming,kotlin,codepath,code,tutorial,rahulpandey,rahul,pandey,teach,maps,google,

Post a Comment

0 Comments