Adds correct footer behaviour to account lists and unifies it with how timelines use them.

This commit is contained in:
Vavassor 2017-06-30 18:30:25 -04:00
commit 275cd51a6d
15 changed files with 164 additions and 124 deletions

View file

@ -59,6 +59,9 @@ public class BlocksAdapter extends AccountAdapter {
BlockedUserViewHolder holder = (BlockedUserViewHolder) viewHolder;
holder.setupWithAccount(accountList.get(position));
holder.setupActionListener(accountActionListener, true);
} else {
FooterViewHolder holder = (FooterViewHolder) viewHolder;
holder.setState(footerState);
}
}