Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/robarcoo/coroutineasynctestapp

A test app for learning coroutines and async
https://github.com/robarcoo/coroutineasynctestapp

Last synced: about 2 months ago
JSON representation

A test app for learning coroutines and async

Awesome Lists containing this project

README

        

# CoroutineAsyncTestApp

A mutimodule app that uses coroutines and async in action. During coroutine's work there's an option to cancel the job and it has timeout of 1 second, the calculation will stop and it shows an alert dialog.

To demonstrate this functionality I use delay, otherwise the change in button's text is unnoticable and you can't reach timeout.

https://github.com/robarcoo/CoroutineAsyncTestApp/assets/111498279/64f2c602-f6be-460c-b345-3e8c84989fb3

https://github.com/robarcoo/CoroutineAsyncTestApp/assets/111498279/eb4263f2-7486-4bf2-b8ea-5521599c39d1