انتقل إلى المحتوى
zarza zarza
إعلان

Summary for Coroutines on Android (part I): Getting the background

13/02/2021 7 min Episodio 1

استمع "Summary for Coroutines on Android (part I): Getting the background"

ملخص الحلقة

 As Sean McQuillan said 
"coroutines are a great solution to two problems:

Long-running tasks are tasks that take too long to block the main thread.
Main-safety allows you to ensure that any suspend function can be called from the main thread.
Coroutines build upon regular functions by adding two new operations. In addition to invoking (or call) and return, coroutines add suspend and resume.
Suspend and resume work together to replace callbacks.
Coroutines will run on the main thread, and suspend does not mean background"

https://medium.com/androiddevelopers/coroutines-on-android-part-i-getting-the-background-3e0e54d20bb
إعلان

ZARZA Studio — محطتك على الهواء اليوم: مكتبة، ساعة موسيقية، جدول، كابينة وتقارير، من المتصفح.

تعرّف على ZARZA Studio
على الهواء الآن محطة في الفهرس 22٬542 بودكاست دولة