The function f is type as a function that takes a single input parameter of type View (another class from Android) and returns Unit, which is the Scala equivalent of void.
这个函数f的类型为带一个View 类型(Android中的另一个类)的输入参数的函数,并返回Unit,它是void在Scala 中的对等物。
The function f is type as a function that takes a single input parameter of type View (another class from Android) and returns Unit, which is the Scala equivalent of void.
这个函数f的类型为带一个View 类型(Android中的另一个类)的输入参数的函数,并返回Unit,它是void在Scala 中的对等物。
应用推荐