ShimmerCellUnit - admiral-team/admiralui-ios GitHub Wiki

Design

An element that displays the loading of a row, an element, or an entire block

Declaration

class ShimmerCellUnit @JvmOverloads constructor(
    context: Context,
    attrs: AttributeSet? = null,
    defStyleAttr: Int = 0
) : ShimmerFrameLayout(context, attrs, defStyleAttr), CellUnit, ThemeObserver

Overview

The component can be used as loading indicator for banking products.

Live example

Configure a ShimmerCellUnit

<com.admiral.uikit.components.cell.unit.shimmer.ShimmerCellUnit
    android:layout_width="28dp"
    android:layout_height="16dp"
    app:admiralCellUnitType="trailing"
    app:admiralIcon="@drawable/test_ic_visa" />

Contribution

You can help us to find bugs or ask us to add features.

  • To start issue please use ready-made templates.
  • To make changes to the repository, you need to create a fork of the project, make changes to the code and create a pull request in our project. You can read more about this in the Github documentation.