forEach

inline fun Menu.forEach(action: (item: MenuItem) -> Unit)(source)

Performs the given action on each item in this menu.


inline fun ViewGroup.forEach(action: (view: View) -> Unit)(source)

Performs the given action on each view in this view group.