I know that there has been simialr questions but I can\'t make it work even though I look at those. The error message is:
java.lang.RuntimeException:
Change your ListView
in XML to have the following id:
It's a requirement of using ListFragment
/SherlockListFragment
http://developer.android.com/reference/android/app/ListFragment.html
ListFragment has a default layout that consists of a single list view. However, if you desire, you can customize the fragment layout by returning your own view hierarchy from
onCreateView(LayoutInflater, ViewGroup, Bundle)
. To do this, your view hierarchy must contain a ListView object with the id "@android:id/list" (orlist
if it's in code)