Design-Patterns-In-Kotlin
Design-Patterns-In-Kotlin copied to clipboard
Design Patterns implemented in Kotlin
I suppose that the usage example of [Observer/Listener](https://github.com/dbacinski/Design-Patterns-In-Kotlin#observer--listener) should be this: ``` kotlin val textView = TextView().apply { listeners.add(PrintingTextChangedListener()) } with(textView) { text = "Lorem ipsum" text = "dolor sit...
Replaced incorrect example with code from patterns/src/test/kotlin/Listener.kt
Demonstrate how to implement Prototype pattern in Kotlin
Hi, I add the lazy thread safe singleton pattern example. Please kindly check and review. Thank you. Best regards, Maikel
Will you create a sample for Null Object pattern?