0

How to fix random GridView recycling without inefficient findViewById() calls?

view story
linux-howto

http://stackoverflow.com – My question is similar to this: Android GridView - randomly position when scrolling Although the solution mentioned there does fix the issue of the randomly positioned images, it is inefficient to keep calling findViewById(). How could I solve this with the use of convertView or ViewHolder objects? Elaboration on original problem: I have a GridView that houses custom View objects which are inflated from xml. These View objects each have a TextView which contains text that will be changed depending on user interaction (i.e. the user clicks the image or clicks a button that is also in the View (HowTos)