use of cx.ring.tv.cards.contactrequests.ContactRequestCard in project ring-client-android by savoirfairelinux.
the class MainFragment method showContactRequests.
@Override
public void showContactRequests(final ArrayList<TVContactRequestViewModel> contactRequests) {
contactRequestRowAdapter.clear();
for (TVContactRequestViewModel contact : contactRequests) {
contactRequestRowAdapter.add(new ContactRequestCard(contact));
}
contactRequestRowAdapter.notifyArrayItemRangeChanged(0, contactRequests.size());
mRowsAdapter.notifyItemRangeChanged(2, 3);
}
Aggregations