toggle menu
hooks2
common
switch theme
hooks2
xyz.
junerver.
compose.
hooks
_remember
Get
State()
_remember
State()
_use
Get
State()
_use
State()
as
Noop
Fn()
as
Suspend
Noop
Fn()
Biometric
Activity
Companion
Biometric
Options
Companion
Boolean
Holder
Copy
Paste
Holder
Countdown
Holder
Countdown
Options
Companion
Counter
Holder
Counter
Options
Companion
create
Context()
Debounce
Options
Companion
Dispatch
Dispatch
Async
Formatted
Res
Get
State
Holder
get
Value()
Immutable
List
Holder
Interval
Holder
Interval
Options
Companion
invoke()
Keyboard
Holder
Launched
Debounce
Effect()
Launched
Throttle
Effect()
left()
Middleware
Mutable
Ref
None
notify
Default
Persistent
Observer()
observe
As
State()
Options
Persistent
Context
Persistent
Holder
plus()
React
Context
Reducer
Reducer
Holder
Ref
remember
Async()
remember
Auto
Reset()
remember
Back
To
Front
Effect()
remember
Battery
Info()
remember
Biometric()
remember
Boolean()
remember
Build
Info()
remember
Clipboard()
remember
Context()
remember
Countdown()
remember
Counter()
remember
Creation()
remember
Debounce()
remember
Debounce
Fn()
remember
Disable
Screenshot()
remember
Dispatch()
remember
Dispatch
Async()
remember
Double()
remember
Event
Publish()
remember
Event
Subscribe()
remember
Flashlight()
remember
Float()
remember
Front
To
Back
Effect()
remember
Get
State()
remember
Int()
remember
Interval()
remember
Keyboard()
remember
Latest
Ref()
remember
List()
remember
Long()
remember
Map()
remember
Mount()
remember
Now()
remember
Persistent()
remember
Previous()
remember
Reducer()
remember
Ref()
remember
Request()
remember
Reset
State()
remember
Screen
Brightness()
remember
Screen
Info()
remember
Selector()
remember
Sensor()
remember
State()
remember
Throttle()
remember
Throttle
Fn()
remember
Timeout()
remember
Timestamp()
remember
Timestamp
Ref()
remember
Toggle()
remember
Toggle
Either()
remember
Toggle
Visible()
remember
Undo()
remember
Unmount()
remember
Unmounted
Ref()
remember
Update()
remember
Update
Effect()
remember
Vibrate()
remember
Wake
Lock()
remember
Window
Flags()
Reset
State
Holder
set
Value()
Single
Suspend
Normal
Function
Throttle
Options
Companion
Timestamp
Holder
Timestamp
Options
Companion
Timestamp
Ref
Holder
to()
to
List()
tuple()
Tuple0
Tuple1
Tuple10
Tuple2
Tuple3
Tuple4
Tuple5
Tuple6
Tuple7
Tuple8
Tuple9
Undo
Holder
Undo
State
use
Async()
use
Auto
Reset()
use
Back
To
Front
Effect()
use
Biometric()
use
Boolean()
use
Clipboard()
use
Context()
use
Countdown()
use
Counter()
use
Creation()
use
Debounce()
use
Debounce
Effect()
use
Debounce
Fn()
use
Disable
Screenshot()
use
Double()
use
Effect()
use
Event
Publish()
use
Event
Subscribe()
use
Flashlight()
use
Float()
use
Front
To
Back
Effect()
use
Get
State()
use
Immutable
List()
use
Int()
use
Interval()
use
Keyboard()
use
Latest
Ref()
use
Latest
State()
use
List()
use
Long()
use
Map()
use
Mount()
use
Now()
Use
Now
Options
Companion
use
Persistent()
use
Previous()
use
Reducer()
use
Ref()
use
Reset
State()
use
Screen
Brightness()
use
Sensor()
use
State()
use
Throttle()
use
Throttle
Effect()
use
Throttle
Fn()
use
Timeout()
use
Timestamp()
use
Timestamp
Ref()
use
Toggle()
use
Toggle
Either()
use
Toggle
Visible()
use
Undo()
use
Unmount()
use
Unmounted
Ref()
use
Update()
use
Update
Effect()
use
Wake
Lock()
use
Window
Flags()
xyz.
junerver.
compose.
hooks.
usedeviceinfo
Battery
Info
Build
Info
Screen
Info
use
Battery
Info()
use
Build
Info()
use
Screen
Info()
xyz.
junerver.
compose.
hooks.
useform
Custom
Validator
Email
Form
Form()
Form
Instance
Form
Scope
Companion
Mobile
Phone
Regex
Required
use
Form()
use
Form
Instance()
use
Watch()
validate
Field()
Validator
xyz.
junerver.
compose.
hooks.
useidle
use
Idle()
xyz.
junerver.
compose.
hooks.
usenetwork
Connect
Type
Companion
Mobile
None
Wifi
Network
Provider()
Network
State
remember
Network()
use
Network()
xyz.
junerver.
compose.
hooks.
useredux
combine
Stores()
create
Store()
plus()
Redux
Provider()
Store
Store
Record
Store
Scope
Companion
Named
Scope
use
Dispatch()
use
Dispatch
Async()
use
Selector()
xyz.
junerver.
compose.
hooks.
userequest
Cancel
Fn
Composable
Plugin
Gen
Fn
Fetch
Fetch
State
Gen
Plugin
Lifecycle
Fn
IFetch
Stata
Mutate
Fn
On
Before
Return
On
Request
Return
Plugin
Plugin
Lifecycle
Plugin
On
Before
Plugin
On
Cancel
Plugin
On
Error
Plugin
On
Finally
Plugin
On
Mutate
Plugin
On
Request
Plugin
On
Success
Refresh
Fn
Req
Fn
Request
Holder
Request
Options
Companion
use
Empty
Plugin()
use
Request()
xyz.
junerver.
compose.
hooks.
userequest.
utils
Cached
Data
clear
Cache()
xyz.
junerver.
compose.
hooks.
usevibrate
use
Vibrate()
vibrate
Long()
vibrate
Short()
xyz.
junerver.
compose.
hooks.
utils
as
Boolean()
Hooks
Event
Manager
is
Email()
is
Mobile()
is
Not
Null
is
Phone()
run
If()
then()
to
Boolean()
hooks2
/
xyz.junerver.compose.hooks
/
PersistentHolder
Persistent
Holder
@
Stable
data
class
PersistentHolder
<
T
>
(
val
state
:
State
<
T
>
,
val
save
:
SaveToPersistent
<
T
>
,
val
clear
:
HookClear
)
The final return value of the persistence hook is a tuple like state,setState
Members
Constructors
Persistent
Holder
Link copied to clipboard
constructor
(
state
:
State
<
T
>
,
save
:
SaveToPersistent
<
T
>
,
clear
:
HookClear
)
Properties
clear
Link copied to clipboard
val
clear
:
HookClear
save
Link copied to clipboard
val
save
:
SaveToPersistent
<
T
>
state
Link copied to clipboard
val
state
:
State
<
T
>
Functions
get
Value
Link copied to clipboard
operator
fun
getValue
(
thisRef
:
Any
?
,
property
:
KProperty
<
*
>
)
:
T
set
Value
Link copied to clipboard
operator
fun
setValue
(
thisRef
:
Any
?
,
property
:
KProperty
<
*
>
,
newValue
:
T
)