This repository was archived by the owner on Jul 13, 2020. It is now read-only.
This repository was archived by the owner on Jul 13, 2020. It is now read-only.
Bad lambda receiver type in verticalLayout's in 0.10.6 #673
Closed
Description
Unless I misunderstood the change and it was intentional, the signature for the verticalLayout
family of methods looks like this:
inline fun ViewManager.verticalLayout(theme: Int = 0, init: (@AnkoViewDslMarker LinearLayout).() -> Unit)
instead of:
inline fun ViewManager.verticalLayout(theme: Int = 0, init: (@AnkoViewDslMarker _LinearLayout).() -> Unit)
Having the basic LinearLayout
there most notably prevents us from using the lparams()
methods.
What leads me to think this is a bug is the fact that the linearLayout
methods are still fine.