Maybe you could zip the list with itself, and iter...
# announcements
m
Maybe you could zip the list with itself, and iterate the pairs? And then filter the list after you've sent all notifications. Something like this:
Copy code
mApplications.zip(mApplications.drop(1)).forEach { (prev, next) -> 
    // Do notifications
}
mApplications.removeAll(listOf(null))