Layout Managers

Report a typo

Which LayoutManager supports SpanSizeLookup?

layoutManager = _________________(this, 2).apply {
    spanSizeLookup = object : SpanSizeLookup() {
        override fun getSpanSize(position: Int): Int =
            if (position == 0) 2 else 1
    }
}
Enter a short text
___

Create a free account to access the full topic