Skip to content

Instantly share code, notes, and snippets.

@af2905
Created November 11, 2023 22:28
Show Gist options
  • Save af2905/e1fc4720f2abc96acfccb30e77a1dcc3 to your computer and use it in GitHub Desktop.
Save af2905/e1fc4720f2abc96acfccb30e77a1dcc3 to your computer and use it in GitHub Desktop.
invoke_suspend
int label;
@Nullable
public final Object invokeSuspend(@NotNull Object $result) {
Object var3 = IntrinsicsKt.getCOROUTINE_SUSPENDED();
Object var10000;
switch (this.label) {
case 0:
ResultKt.throwOnFailure($result);
this.label = 1;
var10000 = FunctionsKt.receiveData(this);
if (var10000 == var3) {
return var3;
}
break;
case 1:
ResultKt.throwOnFailure($result);
var10000 = $result;
break;
default:
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
String data = (String)var10000;
FunctionsKt.showToast((Context)MainActivity.this, data);
return Unit.INSTANCE;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment