<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileProvider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"https://developer.android.com/training/secure-file-sharing/share-file
val arrayString = arrayOf("Aerith", "Tifa", "Vincent", "Sid", "Barret")
this.nameViewGroup.setOnClickListener {
AlertDialog.Builder(context)
.setTitle("Choose Party")internal fun loginAsAdmin(completion: (() -> Unit)) {
// TODO (Login as Admin)
}val ISO_8601 = "yyyy-MM-dd'T'HH:mm:ss'Z'"
LocalDateTime.parse(this, DateTimeFormatter.ofPattern(ISO_8601))There's a few reasons.
a) While you are capturePicture(), the AutoFocus state is stucked at CONTROL_AF_STATE_PASSIVE_FOCUSED and there is no way to shake it off.
Thus, you'll need to manually restart the focus and get a lock on it again.
b) setRepeatingRequest() from captureSession is overwhelming it.