Jun 3, 2024
Actually, you can apply the `fun keyword to an interface. i.e.`fun interface MyFunctionalInterface`. You don't need to use the @FunctionalInterface annotation. https://kotlinlang.org/docs/fun-interfaces.html
Actually, you can apply the `fun keyword to an interface. i.e.`fun interface MyFunctionalInterface`. You don't need to use the @FunctionalInterface annotation. https://kotlinlang.org/docs/fun-interfaces.html
Distraction-free reading. No ads.
Organize your knowledge with lists and highlights.
Tell your story. Find your audience.
Read member-only stories
Support writers you read most
Earn money for your writing
Listen to audio narrations
Read offline with the Medium app