Android's SharedPreferences allows developers to save key value pair data to a phone's internal storage, perfect for saving basic information about our customer's cart. Our grocery store Android app will have capabilities to store information about the cart even if the user closes the app or powers down the device.
In this tutorial we'll use Kotlin along with SharedPreferences and putString to store shopping cart data including what the user last placed in their cart.
Google's documentation: https://developer.android.com/trainin...
View code here: https://github.com/danielmalone/Andro...
Connect with me on Twitter! / danielmalone
Смотрите видео Save Products to a Cart for Checkout in Android Studio (AS 4.0 Tutorial #8) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь DJ Malone 21 Август 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 30,277 раз и оно понравилось 223 людям.