Skip to content

Latest commit

 

History

History

lifecycle

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Lifecycle-aware support

To add Lifecycle support, import the extension library:

implementation("dev.bmcreations:scrcast-lifecycle:0.1.0")

You can now observe RecordingState changes via an Observer:

recorder.observeRecordingState(lifecycleOwner, { state -> handleRecorderState(state) })