Change the order so child is first: ``` val layout...
# announcements
a
Change the order so child is first:
Copy code
val layoutManager = parent.layoutManager
        when (layoutManager) {
            is GridLayoutManager -> {
                // Do smth
            }
            is LinearLayoutManager -> {
                // Do smth
            }
        }