# Functional operations over Views in ViewGroup using Kotlin

DevFeed: [Functional operations over Views in ViewGroup using Kotlin](<https://devfeed.tech/articles/functional-operations-over-views-in-viewgroup-using-kotlin-27167.md>)

Original publisher: [Read original article](<https://antonioleiva.com/functional-operations-viewgroup-kotlin>)

Published: 2015-07-29T00:00:00Z

Content type: tutorial

Language: en

Sources: [Antonio Leiva](<https://devfeed.tech/sources/antonio-leiva.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Android](<https://devfeed.tech/topics/android.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [functional](<https://devfeed.tech/tags/functional.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>)

## AI overview

This tutorial explains how to use Kotlin sequences, iterators, extension functions, and extension properties to perform functional operations on Android ViewGroup hierarchies. It also presents a recursive way to collect nested views and notes an alternative solution that avoids sequences.

## Source excerpt

Everything Android, Kotlin and other random topics