Package com.tomtom.tools.android.api.util

Functions

Link copied to clipboard
fun View.removeFromParent()

Removes a view from its parent. Does nothing if it's not attached to a ViewGroup parent.

Link copied to clipboard
fun View.traverse(applyOnViewFunction: View.() -> Unit)

Traverses across the view and all its children, and applies applyOnViewFunction to them.