Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Support for passing default style by theme attribute  #131

@v-mas

Description

@v-mas

Please add support for using theme attribute to pass default style.

It could be done in Shimmer builder by accepting third parameter

   AlphaHighlightBuilder().consumeAttributes(context, null, R.attr.shimmerStyle).build()

Or for extending Layout class, like

    class MyLayout constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = R.attr.shimmerStyle) : ShimmerFrameLayout(context, attrs, defStyleAttr)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions