renetik-android
Toggle table of contents
release
Target filter
release
Switch theme
Search in API
Skip to content
renetik-android
renetik-android-event
/
renetik.android.event.property
/
CSSafeVariableImpl
CSSafe
Variable
Impl
class
CSSafeVariableImpl
<
T
>
(
value
:
T
,
onChangeUnsafe
:
ArgFun
<
T
>
?
=
null
)
:
CSSafeVariable
<
T
>
Members
Members & Extensions
Constructors
CSSafe
Variable
Impl
Link copied to clipboard
constructor
(
value
:
T
,
onChangeUnsafe
:
ArgFun
<
T
>
?
=
null
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
value
Link copied to clipboard
open
override
var
value
:
T
Functions
compare
And
Set
Link copied to clipboard
open
override
fun
compareAndSet
(
value
:
T
,
newValue
:
T
)
:
Boolean
get
And
Set
Link copied to clipboard
open
override
fun
getAndSet
(
newValue
:
T
)
:
T
get
Value
Link copied to clipboard
open
operator override
fun
getValue
(
thisRef
:
Any
?
,
property
:
KProperty
<
*
>
)
:
T
set
Value
Link copied to clipboard
open
operator override
fun
setValue
(
thisRef
:
Any
?
,
property
:
KProperty
<
*
>
,
value
:
T
)
update
Link copied to clipboard
fun
<
Item
:
CSHasDestruct
>
CSValue
<
Int
>
.
update
(
list
:
MutableList
<
Item
>
,
function
:
(
index
:
Int
)
->
Item
)
fun
CSValue
<
Int
>
.
update
(
newCount
:
Int
,
onAdd
:
ArgFun
<
Int
>
?
=
null
,
onRemove
:
ArgFun
<
Int
>
?
=
null
)