Skip to content

Instantly share code, notes, and snippets.

View jasonostrander's full-sized avatar

Jason Ostrander jasonostrander

View GitHub Profile
import androidx.lifecycle.ViewModel
import kotlinx.coroutines.async
import kotlinx.coroutines.channels.ConflatedBroadcastChannel
import kotlinx.coroutines.coroutineScope
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.asFlow
import kotlinx.coroutines.flow.map
import kotlinx.coroutines.suspendCancellableCoroutine
import kotlinx.coroutines.withContext
import java.io.File
### Keybase proof
I hereby claim:
* I am jasonostrander on github.
* I am jasonostrander (https://keybase.io/jasonostrander) on keybase.
* I have a public key whose fingerprint is 019D 40E6 C581 AD9E D93B C705 FE64 8E38 0F9C 8BA9
To claim this, I am signing this object:
package com.jwo.example.sampleform;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Context;
import android.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextWatcher;