Dynamically show/hide Header or Footer of Xamarin.Forms.ListView

后端 未结 7 1945
粉色の甜心
粉色の甜心 2021-02-09 18:29

Is there a way to dynamically show/hide the header of a ListView based on a condition at runtime.



        
7条回答
  •  忘掉有多难
    2021-02-09 18:31

    If you want to hide the footer because the listview is empty just set

    listview.footer = null
    

提交回复
热议问题