Android Question dynamic generation of activity and views

rhanger

Member
Licensed User
Longtime User
Suppose I wanted to create views dynamically in an activity based on the contents of say a sql lite table. Iff the sql table had a field for viewName and all its properties could I add it to an activity and load it. For example if the table had 2 records on the first, the view name field would be part and the second it would be description. After reading the table could I Dim a view called Part and another called Description and set their properties based on the data in corresponding fields in the sql table?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…