{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

StateRecord

public abstract class StateRecord


Snapshot local value of a state object.

Summary

Public constructors

Public methods

abstract void

Copy the value into this state record from another for the same state object.

abstract @NonNull StateRecord

Create a new state record for the same state object.

Public constructors

StateRecord

public StateRecord()

Public methods

assign

public abstract void assign(@NonNull StateRecord value)

Copy the value into this state record from another for the same state object.

create

public abstract @NonNull StateRecord create()

Create a new state record for the same state object.