SubscriptionManagerFactory
class SubscriptionManagerFactory(context: Context, defaultIndexerClient: IndexerClient, utxoManager: UtxoManager, syncStateManager: SyncStateManager, networkRepository: NetworkRepository? = null)
Factory for creating SubscriptionManager instances.
Network-aware: creates a fresh IndexerClient for the currently-selected network so subscriptions connect to the correct indexer after a network switch in Settings. Falls back to the injected singleton client when the network hasn't changed.
Constructors
Link copied to clipboard
constructor(context: Context, defaultIndexerClient: IndexerClient, utxoManager: UtxoManager, syncStateManager: SyncStateManager, networkRepository: NetworkRepository? = null)