java - Creating new views from array elements, bad practice? -
i want display array of elements list inside scrollview. seems people around here not happy putting listviews inside scrollviews, figured might try , create own list.
i have entries (typically not more 10 entries, entries around normal sentence in length) in array want iterate over, creating textview each entry, each entry has it's own textview. concern though may bad practice, or kind of operation slow down application much.
am being concerned performance here?
no have not concerned.
listview written display thousands of elements, reusing widgets. it's fast create 10 widgets , memory used neglectable. if elements fit on 1 screen approach fast listview , memory footprint same.
Comments
Post a Comment