DORSETRIGS
Home

koin (13 post)


posts by category not found!

kmpnotifier throws an error when using two types of koin -> koin core and koin compose

Understanding KMP Notifier Error in Koin Core and Compose When working with Kotlin Multiplatform KMP developers sometimes encounter issues when integrating diff

2 min read 29-09-2024 39
kmpnotifier throws an error when using two types of koin -> koin core and koin compose
kmpnotifier throws an error when using two types of koin -> koin core and koin compose

getOriginalKotlinClass returns null even though the class exists

Troubleshooting Why get Original Kotlin Class Returns Null Even When the Class Exists When working with Kotlin developers occasionally encounter issues that can

3 min read 28-09-2024 49
getOriginalKotlinClass returns null even though the class exists
getOriginalKotlinClass returns null even though the class exists

How to solve "org.koin.core.error.InstanceCreationException: Could not create instance for '[Singleton:']'" in Kotlin Multiplaform

Solving org koin core error Instance Creation Exception Could not create instance for Singleton in Kotlin Multiplatform If you are developing applications using

2 min read 25-09-2024 65
How to solve "org.koin.core.error.InstanceCreationException: Could not create instance for '[Singleton:']'" in Kotlin Multiplaform
How to solve "org.koin.core.error.InstanceCreationException: Could not create instance for '[Singleton:']'" in Kotlin Multiplaform

Reusing PagingSource in Paging3

Reusing Paging Source in Paging3 An Essential Guide In Android development effective data loading is crucial for creating a seamless user experience especially

3 min read 21-09-2024 43
Reusing PagingSource in Paging3
Reusing PagingSource in Paging3

RuntimeError: Illegal cast in Kotlin Multiplatform with Decompose and Koin on Web/Wasm target

Understanding and Resolving Runtime Error Illegal Cast in Kotlin Multiplatform with Decompose and Koin on Web Wasm Target Kotlin Multiplatform has become a popu

2 min read 21-09-2024 49
RuntimeError: Illegal cast in Kotlin Multiplatform with Decompose and Koin on Web/Wasm target
RuntimeError: Illegal cast in Kotlin Multiplatform with Decompose and Koin on Web/Wasm target

Ocasional Android app crash at appModule (maybe Koin)

Understanding and Resolving Occasional Android App Crashes in App Modules with Koin When developing Android applications encountering occasional crashes can be

2 min read 18-09-2024 48
Ocasional Android app crash at appModule (maybe Koin)
Ocasional Android app crash at appModule (maybe Koin)

How to replace Koin service injection in a Ktor route test by a mocked service

Mocking Ktor Routes with Koin A Practical Guide When testing Ktor routes that rely on Koin for dependency injection you often need to mock the injected services

3 min read 05-09-2024 62
How to replace Koin service injection in a Ktor route test by a mocked service
How to replace Koin service injection in a Ktor route test by a mocked service

Koin: how to reduce the visibility of modules (private non-exported modules)

Reducing the Visibility of Modules in Koin A Practical Guide When working with dependency injection in Kotlin using Koin a common requirement is to encapsulate

3 min read 04-09-2024 44
Koin: how to reduce the visibility of modules (private non-exported modules)
Koin: how to reduce the visibility of modules (private non-exported modules)

ComponentProcessingStep was unable to process 'MyApplication_HiltComponents.SingletonC' because MyClass could not be resolved

Component Processing Step was unable to process Error in Dagger Hilt and Compose Troubleshooting and Solutions This article tackles a common error encountered w

3 min read 03-09-2024 55
ComponentProcessingStep was unable to process 'MyApplication_HiltComponents.SingletonC' because MyClass could not be resolved
ComponentProcessingStep was unable to process 'MyApplication_HiltComponents.SingletonC' because MyClass could not be resolved

How to verify the Koin dependency graph using the "verify" function?

Verifying Your Koin Dependency Graph A Practical Guide with Examples Koins dependency injection DI framework simplifies your applications architecture but it ca

3 min read 02-09-2024 52
How to verify the Koin dependency graph using the "verify" function?
How to verify the Koin dependency graph using the "verify" function?

Replacing Koin declarations for Ktor Applications

Replacing Koin Declarations for Ktor Applications A Practical Guide Testing your Ktor application with Koin can be tricky especially when you need to swap out r

3 min read 31-08-2024 52
Replacing Koin declarations for Ktor Applications
Replacing Koin declarations for Ktor Applications

Koin - using scopes in isloated context when building a library with koin

Managing Scopes in Koin for Library Development An Isolated Approach Koin a powerful dependency injection framework for Kotlin offers a variety of features incl

2 min read 31-08-2024 62
Koin - using scopes in isloated context when building a library with koin
Koin - using scopes in isloated context when building a library with koin

KOIN + KTOR + EXPOSED: test mocking

Mastering Mocking with KOIN KTOR and EXPOSED A Practical Guide Testing your applications interactions with external dependencies like databases is crucial This

3 min read 28-08-2024 53
KOIN + KTOR + EXPOSED: test mocking
KOIN + KTOR + EXPOSED: test mocking