Monday, May 31, 2010

[android-developers] Re: nullPointerException with custom ArrayAdapter

I didn't know this methods exists :)
This is exactly what I needed, with that I should'nt have to re-
inflate the layout each time getView is called.

thx

On May 31, 11:07 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> Christophe wrote:
> > I have different layout on my list (R.layout.step_list_item,
> > R.layout.step_list_item2 ...) for each type of item in my list.
>
> Are you overriding getViewTypeCount() and getItemViewType() in your adapter?
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android App Developer Books:http://commonsware.com/books

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate