46 lines
1.8 KiB
Java
46 lines
1.8 KiB
Java
package com.discord.widgets.chat.input.expression;
|
|
|
|
import d0.g;
|
|
import d0.z.d.m;
|
|
import kotlin.Lazy;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import rx.Observable;
|
|
import rx.subjects.PublishSubject;
|
|
/* compiled from: ExpressionPickerEventBus.kt */
|
|
public final class ExpressionPickerEventBus {
|
|
public static final Companion Companion = new Companion(null);
|
|
private static final Lazy INSTANCE$delegate = g.lazy(ExpressionPickerEventBus$Companion$INSTANCE$2.INSTANCE);
|
|
private final PublishSubject<ExpressionPickerEvent> expressionPickerEventSubject = PublishSubject.j0();
|
|
|
|
/* compiled from: ExpressionPickerEventBus.kt */
|
|
public static final class Companion {
|
|
private Companion() {
|
|
}
|
|
|
|
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
|
this();
|
|
}
|
|
|
|
public final ExpressionPickerEventBus getINSTANCE() {
|
|
Lazy access$getINSTANCE$cp = ExpressionPickerEventBus.access$getINSTANCE$cp();
|
|
Companion companion = ExpressionPickerEventBus.Companion;
|
|
return (ExpressionPickerEventBus) access$getINSTANCE$cp.getValue();
|
|
}
|
|
}
|
|
|
|
public static final /* synthetic */ Lazy access$getINSTANCE$cp() {
|
|
return INSTANCE$delegate;
|
|
}
|
|
|
|
public final void emitEvent(ExpressionPickerEvent expressionPickerEvent) {
|
|
m.checkNotNullParameter(expressionPickerEvent, "expressionPickerEvent");
|
|
this.expressionPickerEventSubject.j.onNext(expressionPickerEvent);
|
|
}
|
|
|
|
public final Observable<ExpressionPickerEvent> observeExpressionPickerEvents() {
|
|
PublishSubject<ExpressionPickerEvent> publishSubject = this.expressionPickerEventSubject;
|
|
m.checkNotNullExpressionValue(publishSubject, "expressionPickerEventSubject");
|
|
return publishSubject;
|
|
}
|
|
}
|