Guarde los productos en un carrito de compras para pagarlos en Android Studio (tutorial de AS 4.0 n. ° 8)



SharedPreferences de Android permite a los desarrolladores guardar datos de pares de valores clave en la memoria interna de un teléfono, lo que es perfecto para guardar información básica del carrito de compras para nuestros clientes. Nuestra aplicación para Android de la tienda de comestibles tendrá la capacidad de almacenar información del carrito incluso si el usuario cierra la aplicación o apaga el dispositivo. En este tutorial usaremos Kotlin junto con SharedPreferences y putString para almacenar los datos del carrito, incluido lo que el usuario colocó por última vez en su carrito. Documentación de Google: Vea el código aquí: ¡Conéctese conmigo en Twitter! .

About MiReal

Compruebe también

¡Cómo instalar Magic: the Gathering Arena en casi cualquier dispositivo Android!

¡Hola a todos! ¡Magic: the Gathering Arena finalmente está oficialmente disponible para dispositivos Android! Sin …

18 comentarios

  1. Can you make a video on how to create an FTP application?

  2. I want to learned

  3. can you make a tutorial for create a launcher android?

  4. NICE!! Tutorial Please make a SearchView in RecyclerVİew

  5. Hi Daniel! I watched all of your tutorials for Android Studio 4.0 so far and I love them! I was just wondering, when Part 9 will be released? Thank you!

  6. Someone help me! I downloaded Google Mobile Ads SDK and now my app keeps crashing. How do I delete it?
    Thanks!

  7. I've just binged all your tutorial videos for AS 4.0. This is my first time using android studio and you explain it all really well. Thanks so much!

  8. I'm following your channel starting TODAY. I need ppr MYSQL + SQL + SQLite JAVA + MINGODB + VOLLEY + RETROFIT + FIREBASE

  9. how do i have different main images for each item in the scroll view?

  10. hey daniel! Thanks for your tutorials i subbed anyway i loved your tutorials

  11. Hello Daniel,I need your help

  12. Hello Daniel, I really learned a lot from you. Thanks a lot.

  13. Excuse I want to know java activity can call to kotlin activity? If it can i want to get that source code

  14. First you are great love your forma but
    When will we have the tutorial 9?
    and is the card created in it because it's a part that I'm strugeling with and you explain so much better then any of my teacher and I'm really stuck right now.

  15. I love kotlin. and thanks for this great tutorial
    hope your channel grow bigger!!!

  16. in-app purchases tutorial next? 😊

  17. Hey Daniel, I emailed you but did not hear back. I am stuck at a point I identified in the email. Can you take a look at it and get back with me please? Thanks for the great videos.

  18. This is a great tutorial.
    I learned a lot from you!
    Thank you very much!

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *