How to get the last item of an ArrayList in kotlin?
I have a list like
val myList = listOf("item1", "item2", "item3")
I want to get the last item of myList
How to get the last item of an ArrayList in kotlin?
I have a list like
val myList = listOf("item1", "item2", "item3")
I want to get the last item of myList