Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 a 中添加了FooterView一个ListView,但是当我将视图的可见性设置为 时GONE,只是隐藏了视图的内容。我的意思是它在 中留下空间ListView,就像INVISIBLE. 我怎样才能将其设置FooterView为GONE.
FooterView
ListView
GONE
INVISIBLE
您可以像这样删除页脚:
listView.removeFooterView(view);