Android 开发学习中 各种问题收集
16lz
2021-01-23
1 学习listview
问题:Caused by: java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list'
解决:在布局中ListView 的id有问题 应该为“@android:id/list“ , 它是对应了android内部实现的一个列表!