On Thu, Feb 10, 2011 at 4:54 AM, Abalufaske <[email protected]> wrote:

> the error is the view of the ArrayList<Contact> todoItems =   new
> ArrayList<Contact>(); , when i try to view the content of the array
> with รง
>   final ArrayAdapter<Contact> aa;
>    aa = new ArrayAdapter<Contact>(this,
>
> android.R.layout.simple_list_item_1,
>                                  todoItems);
>    // Bind the array adapter to the listview.
>    myListView.setAdapter(aa);
> it crashes...
>

When your code crashes, you have to debug it. If you can't figure it out
from debugging, at the very least post the stack trace of the error.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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

Reply via email to