Skip to content

Instantly share code, notes, and snippets.

@SardarkhanStella
SardarkhanStella / coroutineTesting.txt
Last active September 28, 2022 13:57
Coroutine Testing with different Builder, Scope and Cancellation.
import android.util.Log
import kotlinx.coroutines.*
import org.junit.Test
import java.io.IOException
import kotlin.math.pow
class AsyncCoroutineBuilderDemoTest {
@Test
fun correctUseOfCoroutinesVariant1() = runBlocking {
@SardarkhanStella
SardarkhanStella / proguard_rules.pro
Created January 7, 2022 18:27 — forked from Kashif-E/proguard_rules.pro
This gist contains almost all the pro guard rules that you will ever need for R8
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class: