mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
34 lines
1.1 KiB
Java
34 lines
1.1 KiB
Java
package org.thoughtcrime.securesms;
|
|
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
|
|
import com.b44t.messenger.DcChat;
|
|
import com.b44t.messenger.DcMsg;
|
|
|
|
import org.thoughtcrime.securesms.mms.GlideRequests;
|
|
import org.thoughtcrime.securesms.recipients.Recipient;
|
|
|
|
import java.util.Set;
|
|
|
|
public interface BindableConversationItem extends Unbindable {
|
|
void bind(@NonNull DcMsg messageRecord,
|
|
@NonNull DcChat dcChat,
|
|
@NonNull GlideRequests glideRequests,
|
|
@NonNull Set<DcMsg> batchSelected,
|
|
@NonNull Recipient recipients,
|
|
boolean pulseHighlight);
|
|
|
|
DcMsg getMessageRecord();
|
|
|
|
void setEventListener(@Nullable EventListener listener);
|
|
|
|
interface EventListener {
|
|
void onQuoteClicked(DcMsg messageRecord);
|
|
void onJumpToOriginalClicked(DcMsg messageRecord);
|
|
void onShowFullClicked(DcMsg messageRecord);
|
|
void onDownloadClicked(DcMsg messageRecord);
|
|
void onReactionClicked(DcMsg messageRecord);
|
|
}
|
|
}
|