2015-09-15 22:28:27 +00:00
|
|
|
package org.thoughtcrime.securesms;
|
|
|
|
|
|
|
|
import android.support.annotation.NonNull;
|
2018-04-02 23:17:32 +00:00
|
|
|
import android.support.annotation.Nullable;
|
2015-09-15 22:28:27 +00:00
|
|
|
|
|
|
|
import org.thoughtcrime.securesms.crypto.MasterSecret;
|
|
|
|
import org.thoughtcrime.securesms.database.model.MessageRecord;
|
2018-04-02 23:17:32 +00:00
|
|
|
import org.thoughtcrime.securesms.database.model.MmsMessageRecord;
|
2017-10-16 20:11:42 +00:00
|
|
|
import org.thoughtcrime.securesms.mms.GlideRequests;
|
2017-08-01 15:56:00 +00:00
|
|
|
import org.thoughtcrime.securesms.recipients.Recipient;
|
2015-09-15 22:28:27 +00:00
|
|
|
|
|
|
|
import java.util.Locale;
|
|
|
|
import java.util.Set;
|
|
|
|
|
|
|
|
public interface BindableConversationItem extends Unbindable {
|
2018-04-02 23:17:32 +00:00
|
|
|
void bind(@NonNull MessageRecord messageRecord,
|
|
|
|
@NonNull GlideRequests glideRequests,
|
|
|
|
@NonNull Locale locale,
|
2015-09-15 22:28:27 +00:00
|
|
|
@NonNull Set<MessageRecord> batchSelected,
|
2018-04-02 23:17:32 +00:00
|
|
|
@NonNull Recipient recipients,
|
|
|
|
boolean pulseHighlight);
|
2016-08-16 03:23:56 +00:00
|
|
|
|
|
|
|
MessageRecord getMessageRecord();
|
2018-04-02 23:17:32 +00:00
|
|
|
|
|
|
|
void setEventListener(@Nullable EventListener listener);
|
|
|
|
|
|
|
|
interface EventListener {
|
|
|
|
void onQuoteClicked(MmsMessageRecord messageRecord);
|
|
|
|
}
|
2015-09-15 22:28:27 +00:00
|
|
|
}
|