Sobes.tech
Junior — Senior

Creating your own method to find a View by identifier

livecode

Task condition

It is required to write an extension function that performs the same actions as the built-in findViewById, accepting an integer identifier and returning the found View object.

fun View.findViewById(viewId: Int): View