There are about more than 20 such data in the database, how to implement call
CodePudding user response:
Textview could not read the database, it is just a display control, data should be displayed textview database, you need to retrieve the data from the database (database)CodePudding user response:
This kind of problem I think is very simple, is not to display data textView? Your data out don't distinguish out name, age? Can distinguish the display to you specify the textView can not! As for the subsequent how to optimize the interface, how to optimize the database are the subsequent thing!CodePudding user response:
This involves the basic database operation, this will be? Another in a list control according to the data, each item is a textView, setText to textView setting content,CodePudding user response:
First learn to operate the database, the data read out to the collection, and then the data set into the textview, but this situation is recommended list