Possible Duplicate:
list fragment does not accept my layout
I’m trying to use a custom view on a ListFragment but when I try to use setListShown or setListShownNoAnimation I get an exception!
I’m using android-support-v4.
Thank you!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Create the layout file list_content.xml
Put this inside your ListFragment class:
Now you can use normally: