MainActivity

The Main Activity class is the application's main entry point.

It hosts the user interface to control the MainService component and demonstrates the ML use case, which delegates the ML Task to MainService.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
@Inject
lateinit var mViewModel: MainViewModel

ViewModel instance for this activity.

Functions

Link copied to clipboard
fun CameraPreview(controller: LifecycleCameraController, modifier: Modifier = Modifier)