调用数据,以理想的数据库字段 [英] ideal database field for calling data to
问题描述
您好人能有人帮助。
我已经设计中,我想有一个字段框或某种对话框,当对话框被称为TYPE&放大器;金额(链接)框的显示,在每个项目从数据库中的数据。因此,对于这个对话框我已经。用户会点击对话框之前活动的饮料按钮。并且数据将填补论文场盒调用一次。
I have designed a dialog in which I would like to have a field box or some sort that when the dialog is called the TYPE & AMOUNT (link) box's will display the data from database on each item. So for this dialog I have made. The user will click drinks button on the activity before the dialog. And the data will fill theses field boxes once called.
我的问题是什么我可以用这个数据框中调用者。
My question is what can I use for this data box caller.
推荐答案
您可以使用的TextView或EditText上小部件(取决于如果你希望用户只看到或分别编辑数据上),你可以从SQLite数据库提取数据。
You can use TextView or EditText widget (depending on if you want user to just see or edit the data respectively) and you can pull data from SQLite Database.
这篇关于调用数据,以理想的数据库字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!