Thanks, that worked for me!
On Fri, Jan 11, 2013 at 5:18 AM, Fisiu <fisi...@gmail.com> wrote: > > > W dniu piątek, 11 stycznia 2013 08:44:42 UTC+1 użytkownik Summer napisał: > >> Hi, >> I am developing an application which I will have multiple tabs and in one >> of the tab I will have listview. >> --So if I use actionBar and Fragment, setListAdapter() in the Fragment >> won't work. >> > > To use setListAdapter() your activity needs to extend ListActivity. But > You have a Fragment it won't work. Instead use: > > listView.SetAdapter(myAdapter); > > >> --if I use actionBar and ListFragment, ActionBar.**TabListener can't >> accept listFragment. >> >> Any tip/help? >> Thanks >> >> -- > 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 > -- 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