From 31624ac3926facaf8d19198dc0b3323866a4bd3b Mon Sep 17 00:00:00 2001 From: Vahid Garousi Date: Fri, 17 Mar 2023 11:59:14 +0330 Subject: [PATCH] Annotating DefaultLightStreamerConnection.kt with @Inject for #56 --- .../lightstreamer/connection/DefaultLightStreamerConnection.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/network/light-streamer/src/main/java/garousi/dev/lightstreamer/connection/DefaultLightStreamerConnection.kt b/core/network/light-streamer/src/main/java/garousi/dev/lightstreamer/connection/DefaultLightStreamerConnection.kt index 29b4381..818dfbb 100644 --- a/core/network/light-streamer/src/main/java/garousi/dev/lightstreamer/connection/DefaultLightStreamerConnection.kt +++ b/core/network/light-streamer/src/main/java/garousi/dev/lightstreamer/connection/DefaultLightStreamerConnection.kt @@ -8,8 +8,9 @@ import com.lightstreamer.client.Subscription import com.lightstreamer.client.SubscriptionListener import garousi.dev.lightstreamer.listeners.EmptyClientListener import garousi.dev.lightstreamer.models.SubscriptionMode +import javax.inject.Inject -class DefaultLightStreamerConnection : LightStreamerConnection { +class DefaultLightStreamerConnection @Inject constructor() : LightStreamerConnection { override var lsClient: LightstreamerClient? = null override var subscription: Subscription? = null override var subscriptionListener: SubscriptionListener? = null