Android Kotlin中apply、also、let、run、with的使用
apply
源码
/**
* Calls the specified function [block] with `this` value as its receiver and returns `this` value.
*
* this作为接收器,返回this
*/
@kotlin.internal.InlineOnly
public inline fun <T> T.a...
原创
2019-09-09 14:11:27 ·
2391 阅读 ·
0 评论