android - Rendering GridView inside ListView being slow -
i have listview
various types of elements. elements retrieved api, dynamic. 1 of possible elements photo gallery photos must displayed in pairs. i'm rendering element using 2 columns gridview
. in other words: 1 of possible listview
elements gridview
. know isn't practise embed 1 scrollview
inside one, it's best approach i've found.
there’s problem listview
rendering, when reaches gridview
, freezes because inflates elements inside gridview
regardless going shown in ui. mean, if gridview
contains 200 elements, inflates of them. don’t know how make gridview
respect common pattern of android groupviews
, inflate displayed elements on screen in each particular moment.
Comments
Post a Comment