> list.getChildAt(0); which returned null

That will be true until the ListView starts getting rows from your Adapter.

> list.getItemAtPosition(0) which returned
> android.content.contentresolver$cursorwrapperin...@4375e088

That is a Cursor pointing at the 0th item in the Adapter's data.

> list.getRootView() which returned
> com.android.internal.policy.impl.phonewindow$decorv...@4375ac38

That is the top-most View in your view hierarchy. It manages the title bar
and your application. You can see this via hierarchyviewer.

> Can you throw me another clue?

I suggested that you add your SimpleCursorAdapter to your ListView, then
call setItemChecked() on the ListView to check your desired row. You have
not indicated where this advice went wrong.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html



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