Updated on 2026-08-14
This commit is contained in:
parent
b5b086a985
commit
2e07841398
18 changed files with 153 additions and 53 deletions
10
common/src/main/java/com/tangem/common/Provider.kt
Normal file
10
common/src/main/java/com/tangem/common/Provider.kt
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
package com.tangem.common
|
||||
|
||||
/**
|
||||
* Provider for lazy initialization
|
||||
*
|
||||
* @param action initialization action
|
||||
*
|
||||
[REDACTED_AUTHOR]
|
||||
*/
|
||||
class Provider<T>(action: () -> T) : () -> T by action
|
||||
Loading…
Add table
Add a link
Reference in a new issue