14 lines
576 B
Java
14 lines
576 B
Java
package org.thoughtcrime.securesms.components.webrtc.participantslist;
|
|
|
|
import org.thoughtcrime.securesms.R;
|
|
import org.thoughtcrime.securesms.util.MappingAdapter;
|
|
|
|
public class CallParticipantsListAdapter extends MappingAdapter {
|
|
|
|
CallParticipantsListAdapter() {
|
|
registerFactory(CallParticipantsListHeader.class, new LayoutFactory<>(CallParticipantsListHeaderViewHolder::new, R.layout.call_participants_list_header));
|
|
registerFactory(CallParticipantViewState.class, new LayoutFactory<>(CallParticipantViewHolder::new, R.layout.call_participants_list_item));
|
|
}
|
|
|
|
}
|