Like suggested before, you can just create an exte...
# announcements
m
Like suggested before, you can just create an extension method for this, something like:
Copy code
public inline ViewGroup.forEachChild(body: (View) -> Unit) = for (i in 0..getChildCount() - 1) {
   body( getChildAt(i))
}