I read all the other posts in getView () and did not find any solutions. I have a GridView with SimpleCursorAdapter. I register (position); in getView (), and I see a pattern like this:
0,0,1,0,0,2,0,0,3,0,0,0,0,0,0,0,5 etc. This means that I need to build 3 views, as they scroll for each new view displayed, and it is intermittent and laggy. Why is he doing this? I have nothing obvious like setting my gridview to wrap-content or something else weird. There is nothing strange in my code. One thing that can be a factor is that each element can have a different height depending on the length of the displayed text.
I am currently debugging 4.2.2 Galaxy Nexus.
source share