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

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

c# - Unity IoC Lifetime per HttpRequest for UserStore -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -