I need to show ListView header always, even when ListView has no items.
It is possible to do? Or better add header in ListView as first item?
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.
Irrespective of whether your
ListViewhas elements or not, header will be visible always. If there are elements in ListView, header will scroll along with them else it will be on top always.For how to add header view to ListView, you can refer other answers provided by users.