Hosted by Dailymotion. For legal issues report at the Copyright Center, report us on DMC, or use the Instant Removal tool.
Multipart Kotlin Coroutines Course - E04 - Medium - Scopes in Server Side and Android 2/2
J
JESPROTECH
4 Views • Feb 26, 2025
Description
In this video we are discussing scopes. I will talk in this video about the GlobalScope in Kotlin coroutines, the coroutineScope, the supervisorScope, the MainScope and briefly discuss the viewModelScope and the lifecycleScope for android applications. The last two were initially meant to be part of this video, but because of its advance category, I decided to include them in a coming video. The idea of this video is to introduce Kotlin Coroutine Scopes for people who may be struggling to understand them and are trying to figure out what makes them different than the Kotlin Coroutinue Disptachers. This video will also illustratie interesting ways that we can use our Coroutine contexts and how to configure them. We are also going through the difference between the MainScope and Dispatchers.Main. These concepts are very important to understand and you'll surely have a better vision on what they are after this video. All of the examples are available on GitHub. See the links bellow for more info. As usual, make sure to stay tech, keep programming, be kind and have a good one everyone!
---
Chapters:
00:00:00 Start
00:00:19 Introduction
00:04:08 The GlobalScope
00:05:38 Video suggestions on Global Scope
00:06:13 Continuing on the GlobalScope
00:18:41 Briefly talking about structured concurrency
00:21:50 Video suggestions on the supervisorScope
00:22:09 The coroutineScope
00:32:14 The supervisorScope
00:38:59 Introduction to Android
00:39:11 The MainScope
00:49:36 Brief mention of the viewModelScope and the lifecycleScope for Android
00:50:34 End notes
00:52:01 See you in the next video!
00:53:26 End credits
---
Source code:
- https://github.com/jesperancinha/jeorg-kotlin-test-drives
- https://github.com/jesperancinha/matrix-anywhere-android
---
Soundtrack:
- https://soundcloud.com/joaoesperancinha/slow-guitar-4-jesprotech
- https://soundcloud.com/joaoesperancinha/jesprotech-guitar-loop-1
---
Related videos:
- https://youtube.com/shorts/wqL_1imGhaY?feature=share
- https://youtube.com/shorts/JBWEJaxlVYY?feature=share
- https://youtu.be/CQXIuyxMD_I
- https://youtube.com/shorts/VIITIP4-WWU?feature=share
- https://youtube.com/shorts/vr8lVaF4EQw?feature=share
---
As a short disclaimer, I'd like to mention that I'm not associated or affiliated with any of the brands eventually shown, displayed, or mentioned in this video.
---
All my work and personal interests are also discoverable on other different sites:
- My Website - https://joaofilipesabinoesperancinha.nl/
- Reddit - https://www.reddit.com/user/jesperancinha
- Credly - https://www.credly.com/users/joao-esperancinha/badges
- Pinterest - https://nl.pinterest.com/jesperancinha/
- Facebook - https://www.facebook.com/joaofisaes/
- Spotify - https://open.spotify.com/user/jlnozkcomrxgsaip7yvffpqqm
- Daily Motion - https://www.dailymotion.com/jofisaes
- Bluesky - https://bsky.app/profile/jesperancinha.bsky.social
---
Chapters:
00:00:00 Start
00:00:19 Introduction
00:04:08 The GlobalScope
00:05:38 Video suggestions on Global Scope
00:06:13 Continuing on the GlobalScope
00:18:41 Briefly talking about structured concurrency
00:21:50 Video suggestions on the supervisorScope
00:22:09 The coroutineScope
00:32:14 The supervisorScope
00:38:59 Introduction to Android
00:39:11 The MainScope
00:49:36 Brief mention of the viewModelScope and the lifecycleScope for Android
00:50:34 End notes
00:52:01 See you in the next video!
00:53:26 End credits
---
Source code:
- https://github.com/jesperancinha/jeorg-kotlin-test-drives
- https://github.com/jesperancinha/matrix-anywhere-android
---
Soundtrack:
- https://soundcloud.com/joaoesperancinha/slow-guitar-4-jesprotech
- https://soundcloud.com/joaoesperancinha/jesprotech-guitar-loop-1
---
Related videos:
- https://youtube.com/shorts/wqL_1imGhaY?feature=share
- https://youtube.com/shorts/JBWEJaxlVYY?feature=share
- https://youtu.be/CQXIuyxMD_I
- https://youtube.com/shorts/VIITIP4-WWU?feature=share
- https://youtube.com/shorts/vr8lVaF4EQw?feature=share
---
As a short disclaimer, I'd like to mention that I'm not associated or affiliated with any of the brands eventually shown, displayed, or mentioned in this video.
---
All my work and personal interests are also discoverable on other different sites:
- My Website - https://joaofilipesabinoesperancinha.nl/
- Reddit - https://www.reddit.com/user/jesperancinha
- Credly - https://www.credly.com/users/joao-esperancinha/badges
- Pinterest - https://nl.pinterest.com/jesperancinha/
- Facebook - https://www.facebook.com/joaofisaes/
- Spotify - https://open.spotify.com/user/jlnozkcomrxgsaip7yvffpqqm
- Daily Motion - https://www.dailymotion.com/jofisaes
- Bluesky - https://bsky.app/profile/jesperancinha.bsky.social
Keywords & Tags
More from User
51:03
Boosting performance and functional style with Project Arrow from a practical perspective… 2/2
JESPROTECH
51:01
Boosting performance and functional style with Project Arrow from a practical perspective… 1/2
JESPROTECH
34:54
Kotlin Mysteries - Live at JetBrains 24th of April 2024
JESPROTECH
22:27
Limit the amount of requests to your API Gateway. Do it advanced!
JESPROTECH
28:16
Kong AI Semantic Cache plugin makes wonders! ... if you configure the vector database correctly
JESPROTECH
30:38
Use these Linux commands to master your DevOps experience! Steps to get closer to becoming a GURU!
JESPROTECH
Related Videos
10:02
Multipart Kotlin Coroutines Course - E05 - Advance - The Android Kotlin Coroutine Scopes 2/2
JESPROTECH
27:05
Multipart Kotlin Coroutines Course - E04 - Medium - Scopes in Server Side and Android 1/2
JESPROTECH
41:59
Multipart Kotlin Coroutines Course - E02 - Pre - Medium 1/2
JESPROTECH
42:01
Multipart Kotlin Coroutines Course - E02 - Pre - Medium 2/2
JESPROTECH
01:14:26
Could Virtual Threads cast away the usage of Kotlin Coroutines? ... and my XP at the LJC in London 2/2
JESPROTECH
10:00
Multipart Kotlin Coroutines Course - E05 - Advance - The Android Kotlin Coroutine Scopes 1/2
JESPROTECH