HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to Save Variables in SharedPreferences - Android Studio Tutorial

223,123 views November 11, 2017 11:34

Watch on YouTube
ChannelCoding in Flow

Description from the creator

Today we will learn how to use Shared Preferences in Android to store data. We will use a SharedPreferences.Editor to save Strings and Booleans, but you can also save other data types like Integers, Floats or Long variables.

Example code:
gist.github.com/codinginflow/b4f4c0cb30dbc13512…

____________________
💻 Find the BEST programming tutorials on TutHub:
tuthub.io

⭐ Get my MVVM Caching Course now:
codinginflow.com/caching

❗ Subscribe to the channel:
youtube.com/c/codinginflo...

📨 Subscribe to the Coding in Flow newsletter:
codinginflow.com/newsletter

❓ Join our free developer community:
discord.gg/TSnMvmc

📣 Follow Coding in Flow on other sites:
Facebook: facebook.com/codinginflow
Instagram: instagram.com/codinginflow
TikTok: tiktok.com/@codinginflow
Twitter: twitter.com/codinginflow
Github: github.com/codinginflow

💰 Business requests, sponsoring, etc.: [email protected]

About this tutorial

Coding in Flow published this 11:34 video tutorial on November 11, 2017. It has been watched 223,123 times on YouTube.

Duration
11:34
Published
November 11, 2017
Views
223,123
Likes
3,049

Tags

Share

This tutorial in other languages