cc2k
cc2k

Reputation: 349

i cannot find a listener for a listview when data(total count) changes

Why isnt there a listener for a listview that will tell the listener when the item count has changed?

I did try to search for it, but did not found any listener for this.

Upvotes: 2

Views: 660

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006614

Because you are the one who is changing the item count, via your adapter. You can track count changes yourself, and trigger whatever listener you want yourself.

Upvotes: 3

Related Questions