Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Horizontal progress bar #23

Closed
Closed
@yoavst

Description

@yoavst
[suppress("NOTHING_TO_INLINE")]
public inline fun ViewManager.horizontalProgressBar(): android.widget.ProgressBar = horizontalProgressBar({})
public inline fun ViewManager.horizontalProgressBar(inlineOptions(InlineOption.ONLY_LOCAL_RETURN) init: android.widget.ProgressBar.() -> Unit): android.widget.ProgressBar = addView {
    ctx ->
    val view = android.widget.ProgressBar(ctx,null,android.R.attr.progressBarStyleHorizontal)
    view.init()
    view
}

Not sure if null is the right thing to put though.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions