Suspend functions - Kotlin Vocabulary

Suspend functions - Kotlin Vocabulary

Android Developers

4 года назад

50,421 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

SimpleManPlayingGame
SimpleManPlayingGame - 01.09.2023 16:27

Does the state class got generated fot every suspend function? And I wonder how the continuation class is passed recursively as it is not shown on the video... I am kinda confused

Ответить
Dree-
Dree- - 01.09.2022 18:30

Thanks

Ответить
Abdulaziz Abduqodirov
Abdulaziz Abduqodirov - 25.09.2021 16:08

I've suspended understanding it without blocking

Ответить
Robert Chrzanowski
Robert Chrzanowski - 25.11.2020 07:08

Haskell's do notation is more flexible since it can handle any type of monad. Since coroutines only represent the Either monad, it should keep average developers from getting confused.

Ответить
Syed Noorullah Shah
Syed Noorullah Shah - 04.09.2020 07:39

this is some heavy stuff

Ответить
Artjom König
Artjom König - 14.07.2020 13:38

ok, I learned that the compiler writes horrible code for me that I would never write this way.

Ответить
Eric Tsang
Eric Tsang - 26.04.2020 10:04

intro and outro music is too loud compared to the voices haha but other than that, i love the video!!! so much good information

Ответить
zack05
zack05 - 21.04.2020 18:46

What I don't understand is how the continuation is passed as a parameter in the methods:
userRemoteDataSource.loginUser() & userLocalDataSource.logUserIn().

Ответить
Brian Turner
Brian Turner - 15.04.2020 00:42

Hello everyone 😊

Ответить
Lukas Lechner - Advanced Android Development
Lukas Lechner - Advanced Android Development - 07.04.2020 11:02

High quality. Well explained. It clicked several times in my head. Thanks!

Ответить
Claudio A.
Claudio A. - 28.03.2020 22:19

Ok but all these implementation details are not very useful for a developer

Ответить
Jaime Conley
Jaime Conley - 28.03.2020 15:02

Lol wow

Ответить
Max
Max - 22.03.2020 16:16

How smart Android 11 going to be in my smartphone? 😏😷

Ответить
Michael Smith
Michael Smith - 22.03.2020 01:54

I think my brain hurts now... it's gonna take me a while to parse this.

Ответить
conscarcdr
conscarcdr - 18.03.2020 19:08

This is sinfully refreshing for functional programming purists.

Ответить
Lucian Criveanu
Lucian Criveanu - 18.03.2020 12:10

Its sad because when you want to use suspend you have to suspend fun ;)!!

Ответить
Madona S. Wambua
Madona S. Wambua - 17.03.2020 19:33

Nice one.

Ответить
Mark King
Mark King - 17.03.2020 18:04

This is very timely. I am currently learning about Coroutines.

Ответить
Dennis Gonzales
Dennis Gonzales - 17.03.2020 02:49

Awesome!

Ответить
Hessam Aldin Emami Nodeh
Hessam Aldin Emami Nodeh - 17.03.2020 00:10

Thank you guys for this awesome info about suspended funs

Ответить
Stylianos Gakis
Stylianos Gakis - 16.03.2020 23:46

Me before this video: 80 IQ
Me after this video: 120 IQ

Ответить
goobar
goobar - 16.03.2020 20:12

The comparison to the callback-based approach was nicely done 👍 Highlighting how the Continuation interface is used by the compiler was really useful!

Ответить
Static Vapour
Static Vapour - 16.03.2020 20:06

Yes

Ответить