14.12.2010 20:24, bobetko пишет:
Kostya, I tried to do as you suggested. and non of it worked.
1) Don't want to add my header view into list's parent. It simply
doesn't achieve what I want to do.
I would like to add it to the parent that holds list view items. I
have parent available in adapter's GetView method. When I tried to do
that got error message telling me that addView is not allowed
operation.

The parent here is the list view itself. You don't need to add views to parent view in getView, as it's done for you (after getView returns).

2) I tried to keep refererence to original adapter object and use that
one when doing notifyDataSetChanged();  and I ended up with the same
ClassCastException error.

Can you post some relevant parts of the code, along with logcat output?


--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

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