piyush
08/04/2020, 9:59 PM( <argument> ) in IntelliJ for kotlin function which accepts function as an argument , I mostly use the outside { } and often times clicks the one with ( ) ?
fun foo(block:(String, String) -> Unit){
//Do something
}Dmitry Kandalov
08/04/2020, 11:47 PMpiyush
08/05/2020, 6:53 PMs.add is direct instead of a delegation below will look better so its more based on context
s.add { }