ListView.addFooterView (v) not showing

I have a ListView declared inside a layout. When I addFooterView (v), it is NOT displayed. What are the possible reasons for this? Are there any settings in ListView or my adapter to display this screen immediately? It ultimately displays, but only after reinitializing the view, adapter, and everything.

Update. It seems that resetting the adapter finally makes it visible .... Obviously, this is not what I need to do every time I call addFooterView (v).

The view containing the ListView is inside the view supported by PageViewer, so it’s not sure if this affects it or not.

+4
source share
1 answer

Adding a footer before installing the adapter is the only thing we can replicate with when we cannot see your code.

+44
source

All Articles