Error Android: Your Content Must Have A Listview Whose Id Attribute Is Android.r.id.list
Hi everybody i need some help with my problem. I want to show all data in database. But when i try to show, i got an error in log Cat like this: Your content must have a ListView w
Solution 1:
Change android:id="@+id/android:list"
to android:id="@android:id/list"
, this should do the job.
Solution 2:
Use android:id="@android:id/list"
, and your ListView should be found by:
taskList = getListView();
Post a Comment for "Error Android: Your Content Must Have A Listview Whose Id Attribute Is Android.r.id.list"