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

