Kalpesh Lakhani
Kalpesh Lakhani

Reputation: 993

Display footer in expandablelistview even if there is no data in adapter

Well, I succeed to add footer on expandablelistview and it's working fine if there is some data in adapter; however, footer is not displaying if there are no records in adapter.

So is that possible to add (display) footer even if there is no data in adapter?

I have tried https://stackoverflow.com/a/4265324/1199602 solution.

P.S : I already added footer before setting adapter to expandablelistview.

Thanks in Advance. As always answer will be surely appreciated.:)

Upvotes: 0

Views: 113

Answers (1)

Emre Aktürk
Emre Aktürk

Reputation: 3346

You can add a dummy blank data to adapter.

Upvotes: 1

Related Questions