how to show data on tableview
I created a simple SQLite database. in database create a table table1,in table1 has two column. inserted tow data record. i 开发者_开发百科want to show table1 Data on tableview. how do this? thank for help.
If you columns are fixed to 2,then take xml file otherwise create dynamic tableLayout and create each row programmatically.
see below example for dynamic creation of tableRows.
see this
精彩评论