<How to get the item before the last item of an Ar...
# stackoverflow
u
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