Oh, can't you just do this then? ``` val indices =...
# announcements
m
Oh, can't you just do this then?
Copy code
val indices = mApplications.withIndex().flatMap { (index, v) ->
    if (v == null) listOf(index)
    else emptyList()
}
mApplications.removeAll(listOf(null))
indices.forEach { mApplicationAdapter.notifyItemRemoved(it) }