How to use android:id="@android:id/list" in xml?



In my apps when i get response using json, it show error like



Caused by: java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list'


So I try to change id with



android:id="@android:id/list"


But its not allowing. Can any one help?


No comments:

Post a Comment