from-java-to-kotlin
from-java-to-kotlin copied to clipboard
instantiate a fragment via apply extension function
I think we need more examples of Kotlin scope functions
Added an example of apply function to instantiate a class
@amitshekhariitbhu Can you please take a look?