Skip to content

Instantly share code, notes, and snippets.

@husaynhakeem
Created June 10, 2020 05:34
Show Gist options
  • Save husaynhakeem/7deb5daaefa375976052f1246ccf7145 to your computer and use it in GitHub Desktop.
Save husaynhakeem/7deb5daaefa375976052f1246ccf7145 to your computer and use it in GitHub Desktop.
class CameraInitializer : Initializer<Camera> {
override fun create(context: Context): Camera {
val camera = /* Set up, configure and/or initialize the camera */
return camera
}
override fun dependencies() = emptyList<>()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment