Android : How to avoid header from scrolling in listview , android?

前端 未结 5 2090
攒了一身酷
攒了一身酷 2021-01-02 08:37

I have a list view , where i am adding headerview to that list . every thing fine , but when am scrolling list headerview also moving with list, so i want to avoid headervie

5条回答
  •  孤城傲影
    2021-01-02 08:58

    Instead of adding a Header view add the view directly to the layout above the list view. I had implemented all my list view like this all of them work grt..

提交回复
热议问题