Re: [android-developers] HeaderView in ListView causing ClassCastException

2010-12-10 Thread TreKing
On Fri, Dec 10, 2010 at 10:37 AM, bobetko wrote: > Any suggestions? When do you set your adapter? - TreKing - Chicago transit tracking app for An

Re: [android-developers] HeaderView in ListView causing ClassCastException

2010-12-10 Thread TreKing
On Fri, Dec 10, 2010 at 10:37 AM, bobetko wrote: > Any suggestions? Post the full stack trace? - TreKing - Chicago transit tracking app for Andro

[android-developers] HeaderView in ListView causing ClassCastException

2010-12-10 Thread bobetko
I have added a view to the header of my ListView by following way: ListView lv = (ListView)getListView(); View TopSearch = (View) View.inflate(this, R.layout.search, null); lv.addHeaderView(TopSearch, null, false); And everything is fine until I make changes to data adapt