Android: Your content must have a ListView whose id attribute is android.R.id.list

后端 未结 3 1278
难免孤独
难免孤独 2020-12-08 14:46

I\'m getting this run-time error and I\'m really struggling to get to the bottom of it: \"Your content must have a ListView whose id attribute is android.R.id.list\".

<
3条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-08 15:15

    In you show_jobs_in_area.xml one of the list id to:

    A good example is here Listview error: "Your content must have a ListView whose id attribute is 'android.R.id.list'"

提交回复
热议问题