That fuck shit the fascists are using
at master 39 lines 945 B view raw
1package org.tm.archive.mediasend; 2 3import androidx.annotation.NonNull; 4 5import org.tm.archive.recipients.Recipient; 6 7import java.util.List; 8 9/** 10 * Represents the list of results to display in the {@link CameraContactSelectionFragment}. 11 */ 12public class CameraContacts { 13 14 private final List<Recipient> recents; 15 private final List<Recipient> contacts; 16 private final List<Recipient> groups; 17 18 public CameraContacts(@NonNull List<Recipient> recents, @NonNull List<Recipient> contacts, @NonNull List<Recipient> groups) { 19 this.recents = recents; 20 this.contacts = contacts; 21 this.groups = groups; 22 } 23 24 public @NonNull List<Recipient> getRecents() { 25 return recents; 26 } 27 28 public @NonNull List<Recipient> getContacts() { 29 return contacts; 30 } 31 32 public @NonNull List<Recipient> getGroups() { 33 return groups; 34 } 35 36 public boolean isEmpty() { 37 return recents.isEmpty() && contacts.isEmpty() && groups.isEmpty(); 38 } 39}