Friday, 15 July 2011

listview - Recycling views inside a horizontal scrollview android -



listview - Recycling views inside a horizontal scrollview android -

i'm making app complex ui. comparable horizontal list view expands viewpager on beingness clicked. presently, i've implemented using basic approach. inflate views within horizontalscrollview , inflate subview animation whenever user taps on parent view.

this works fine , gives of horizontal expandable listview. however, sense approach highly inefficient since maintain on getting gc warnings every few seconds thereby reducing performance. , in approach i'm not recyling views listview does.

my questions are:

is there other efficient way of doing ? how recycle views in existing code listview does?

thanks!

(please don't recommend using gallery. view complex)

is there other efficient way of doing ?

use viewpager or open source horizontallistview, both of utilize adapter pattern.

android listview garbage-collection horizontalscrollview

No comments:

Post a Comment