Need suggestions for dynamically creating views in android
I am going to start one app where my activity page will contain "n"
grouped views. Grouped view means "collections of views (i.e. One group
can have TextView+Button+ImageView)". So the page will have "n" number of
such grouped views.
I need suggestions like what would be the best practice to implement this.
I could think of below ones:
1) Should a ScrollView be used (Then I will have to create groups in
runtime and place one under another)?
2) Or a ListView be used (Then how can I accommodate the height of each
row as grouped views height may differ from each other?)
Or is there any other way I can go along with?
Appreciate the suggestions and any sample examples if have. Advance Thanks.
No comments:
Post a Comment