Join Slack
Powered by
<How to get the item before the last item of an Ar...
# stackoverflow
u
user
10/23/2018, 12:16 PM
How to get the item before the last item of an ArrayList in kotlin?
How to get the item before the last item of an ArrayList in kotlin? I have a list like val myList = listOf("item1", "item2", "item3", "item4", "item5") I want to get "item4" from myList
Open in Slack
Previous
Next