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.
@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.
发布评论
评论(2)
您可以从Android Studio的调色板中添加复选框,在调色板的“按钮”部分中可用。关于Firebase连接,我只知道如何将用户凭据保存在数据库中,我对复选框状态不了解。
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.
@Serg确实提供了更多详细信息,以了解您要使用的数据库,因为问题非常模糊。另外,请检查复选框,然后先尝试一下。
@manthan的复选框状态可以将其存储到Firestore中,作为属于用户的文档中的字段。请查看文档。
@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.