Updated on 2026-08-14

This commit is contained in:
Tangem 2024-09-08 11:16:10 +05:00
parent ad014930b2
commit db9990920e
15 changed files with 44 additions and 41 deletions

View file

@ -0,0 +1,15 @@
package com.tangem.core.ui.pullToRefresh
/**
* Pull to refresh config data
*
* @property isRefreshing state is indicator visible
* @property onRefresh lambda be invoked when pulled to refresh
*/
data class PullToRefreshConfig(val isRefreshing: Boolean, val onRefresh: (ShowRefreshState) -> Unit) {
@JvmInline
value class ShowRefreshState(
val value: Boolean = true,
)
}