How to use Functional (SAM) interfaces in Kotlin to achieve clean code?
When defining interfaces with a single abstract method you can use a lambda expression to avoid introducing a new class or anonymous objects.
(more…)Senior Android Developer & Team/Tech Lead
When defining interfaces with a single abstract method you can use a lambda expression to avoid introducing a new class or anonymous objects.
(more…)