如何在Kotlin中为ArrayList
赋值?
I am trying to add null value to my custom ArrayList
like that
var mList = ArrayList<CustomClass>()
mList.add(null)
在java中这是可能的,但我如何在Kotlin中实现这一点?
null cannot be value of non null type kotlin
I need to insert null value for doing load more functionality in RecyclerView