Skip to content
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
@Android-s14

Description

@Android-s14

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions