Just check if convertView is null. If it is null, you have to inflate, else use the convertView directly.
Thanks, Kumar Bibek http://tech-droid.blogspot.com On Dec 7, 10:30 pm, Business Talk <[email protected]> wrote: > In my custom adapter, that implements the BaseAdapter and its getView, > I use the inflator to generate a new view from a layout. Is there any > way to avoid repetitive inflation step? specially when the convert > View (an argument to the getView) is always null, which mean it can’t > be reused and the view needs to be re-inflated. I was looking for > something like a copy or clone but fund none. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

