android - ViewHolder worth it when ListItem consists of one TextView? -


whenever have lists 1 textview wonder whether still worth using viewholder pattern?

if(convertview == null){ //convertview = inflate view } ((textview)convertview).settext(getitem(position).x); 

would gain performance on using viewholder here? me seems whole point of holder cache .findviewbyid(r.id...) in case dont need find views since base view 1 im looking for.

its useful if have call findviewbyid() every time. in case need not search view, so, not required.


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -