skip to Main Content

I’ve built a simple storeHelper app (you can write which products you need to buy, when and in which store) and I want to add a function of adding a checkbox as a user to mark what you’ve bought from the list, like in a SamsungNotes app, how can I do it + how do I need to change a database to save the status of checkbox?

2

Answers


  1. You can add the checkbox from the Palette in Android Studio, checkbox is available inside the button section in the palette. About the Firebase connection I only know about how to save the user credentials in the database I have no idea about the checkbox status.

    Login or Signup to reply.
  2. @Serg Do provide more details on what database you want to use as the question is very vague. Also, do check the documentation for checkbox and try it out first.

    @Manthan For checkbox status it can be stored into Firestore as a field in a document which belongs to the user. Do check out the documentation.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search