Have you watched http://www.youtube.com/watch?v=N6YdwzAvwOA  ?

On Sep 18, 10:49 pm, WoodManEXP <woodman...@gmail.com> wrote:
> BaseAdapter.getView()’s convertView parameter
>
> Does anyone understand how this parameter works or is intended to
> work? By watching it in the debugger it seems to be the view that was
> previously returned from getView().
>
> - Are we supposed to be able to reuse the previous view as some sort
> of optimization rather than perhaps inflating a new view from XML?
>
> I have been able to reuse the view for a TextView but for nothing more
> complex, like a multi-component view.
>
> - If it is a view to reuse does this mean one could instantiate a view
> outside of getView() and just keep using it over and over again
> returning it from getView()? I have tried this but it does not see to
> work. It messes up the layout of the ListView.
>
> Anyway, if anyone understands more about how BaseAdapter.getView()’s
> convertView parameter is supposed to be used, I’d sure like to know.
>
> Thank you!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to