Updated on 2026-08-14
This commit is contained in:
parent
ad014930b2
commit
db9990920e
15 changed files with 44 additions and 41 deletions
|
|
@ -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,
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue