and fully anko version: ``` ge...
# anko
f
and fully anko version:
Copy code
getTabAt(i)?.apply {
                        customView = with(AnkoContext.create(context, this)) {
                            imageView {
                                id = R.id.icon
                            }
                        }.lparams(dip(64), dip(64))
                        iconResource = R.drawable.ic_delete
                    }
……
var TabLayout.Tab.iconResource: Int
    get() =  throw AnkoException("'TabLayout.Tab.iconResource' property does not have a getter")
    set(v) {
        setIcon(v)
        return
    }
👌 1
👍 1