tumblr / Bookends

A UI widget for adding headers and footers to RecyclerView
539 stars 62 forks source link

How do remove the footer? #6

Open raghunandankavi2010 opened 9 years ago

raghunandankavi2010 commented 9 years ago

Is there a mechanism to remove the footer also. Suppose we want to add the footer when loading more items and remove them when i am done, that would be nice.

KevinTCoughlin commented 9 years ago

I suppose we could add support for removing header & footer views. In most cases I imagine you'd want to toggle visibility and manipulate the wrapped adapter.

raghunandankavi2010 commented 9 years ago

The reason i thought of removing footer was in case i have a load more option which displays the progress bar, i would want to remove it when i get more data from server and update my recyclerview.

I am not sure of toggling visibility in this case. Thanks..

TisenoDev commented 8 years ago

any progress on this one?

KevinTCoughlin commented 8 years ago

PRs welcome