Kotlin Scope Functions: let, apply, run, with, and also : With Differences

  Рет қаралды 66,973

Smartherd

Smartherd

Күн бұрын

Пікірлер
@SriyankSiddhartha
@SriyankSiddhartha 4 жыл бұрын
00:00 Welcome 00:45 Types of Scope Functions 03:34 'with' function 08:40 'apply' function 11:45 'also' function 16:43 'let' function 21:47 'run' function 25:10 Quick Video Guide
@sunilprasai1815
@sunilprasai1815 4 жыл бұрын
Content here is more comprehensive then $100 Udemy course. Thanks, Sriyank.
@Mohit-gb9dv
@Mohit-gb9dv 2 жыл бұрын
Never seen $100 udemy course 😂
@Hrit
@Hrit 2 жыл бұрын
Fact! I have seen so many kotlin tutorial but there are only a few channels who actually clear out the concepts rather than just writing code directly. Kudos to this man!
@manikantadasar6554
@manikantadasar6554 10 ай бұрын
@@Mohit-gb9dv
@soontaek
@soontaek 4 жыл бұрын
The best explanation one can ever find on KZbin. Thank you!
@vinamra4893
@vinamra4893 4 жыл бұрын
Finally you're back!! Your content is very clear, concise and neat!!
@owenlie
@owenlie 2 жыл бұрын
Thank you. I watch the original Kotlin documentation about scope function, but with no avail to understand them. Your comprehensive and practical explanation in this video makes me understood.
@HocineFerradj
@HocineFerradj Жыл бұрын
Thanks for this most wonderful explanation . It deserves a Million Stars and a billion ratings
@BhagyashreeAware
@BhagyashreeAware 4 ай бұрын
Just want to thank to you in whole you tube i can't find a better video then this for scope fun thank you so much
@VenewebTV
@VenewebTV 2 жыл бұрын
Excellet video, very useful and impeccable didactic, regards from Caracas, Venezuela
@phuang3
@phuang3 Жыл бұрын
Best video on Kotlin scope functions. Subscribed. Thank you.
@zakwanibrahim7283
@zakwanibrahim7283 3 жыл бұрын
i have followed this playlist video by video..... my concepts are clear now .... thanks sriyank ....
@sumanparajuli229
@sumanparajuli229 4 жыл бұрын
Finally, you come back........ make as soon as more flutter tutorial....
@gyanawasthi100
@gyanawasthi100 Жыл бұрын
Salute Sir , i did not understand all these things but your style of teaching is very nice, anyone can learn easily . Now i understood the use of scope functions. Thank you so much
@nexgen.graphics
@nexgen.graphics 3 жыл бұрын
If kotlin is a clear, concise language then your kotlin tutorials are as well. Hands down the best explanation I had found online even better than the kotlin documentation.
@anjumohanan3149
@anjumohanan3149 3 жыл бұрын
Well explained. Couldnt drop in between. Such an interesting explanation
@jangraanish
@jangraanish 3 жыл бұрын
I just want to say Woooowwwww. what a way to explain things.
@abbosfayziboyev6441
@abbosfayziboyev6441 2 жыл бұрын
Thank you a lot. I want that every learner can find the most proper lessons for themselves in this channel !!!
@freecountdummy4623
@freecountdummy4623 3 жыл бұрын
Hi Sriyank, I'm still confusing to differentiate between "let" and "run". Based on your example, both are very similiar for me. Those functions do some operations and return a lambda result. The only thing I can tell the different is the context object but that isn't the point I'm looking for. So, could you tell me more detail about when to use "let" and "run". Thanks a lot Sriyank
@nishaaggarwal7876
@nishaaggarwal7876 Жыл бұрын
even I am confused for so long for the same. Have you got any clarifications?
@Sara-lilia
@Sara-lilia 3 жыл бұрын
Thank you 🙏🙏🙏🙏
@pravinmane1
@pravinmane1 3 жыл бұрын
Thank you so much!!!!! This is the best explanation I have found on the internet.
@hardcodeandroid
@hardcodeandroid 4 жыл бұрын
sir I am also your fan and "welcome you". Continue this course
@azei6049
@azei6049 2 жыл бұрын
Awesome vid tutorial! Thank you!
@avigneswaranwaran
@avigneswaranwaran 2 жыл бұрын
Really a wonderfull explanation. Thanks a lot
@appletree3395
@appletree3395 3 жыл бұрын
Very well explained! Thank you so much ❤️
@kelvinclark3474
@kelvinclark3474 4 жыл бұрын
Great tutor, I liked and subscribed before i got half way. Thanks much
@journeywithjaydev
@journeywithjaydev 2 жыл бұрын
Very good explanation 👍
@krishnamandava9919
@krishnamandava9919 4 жыл бұрын
Happy to see you again. Please continue uploading videos
@lokeshprajapati9197
@lokeshprajapati9197 4 жыл бұрын
welcome, finally you are back, now we will learn something great.
@RichaHope
@RichaHope 3 жыл бұрын
Thank you for such an understandable video 🙏
@tomaslopez9999
@tomaslopez9999 2 жыл бұрын
Thanks for creating this video.
@tavoleyva8235
@tavoleyva8235 4 жыл бұрын
Great video!
@willorwig1824
@willorwig1824 2 жыл бұрын
Very good video. Thank you very much!
@ArjunVerma-lq4cf
@ArjunVerma-lq4cf 3 жыл бұрын
Excellent way of making videos
@parthapaul1249
@parthapaul1249 3 жыл бұрын
Thanks a lot
@ricardoruiz2800
@ricardoruiz2800 4 жыл бұрын
Why not using ?.operator with the other scope functions? Thanks.
@syedhuzaifa2106
@syedhuzaifa2106 6 ай бұрын
Thank you, awesome explanation.
@jessepollack2815
@jessepollack2815 3 жыл бұрын
this is an excellent video
@bestversionofme92
@bestversionofme92 3 жыл бұрын
Nicely explained thanks
@InaAgapito
@InaAgapito 2 жыл бұрын
Wow the way that you have explain it was so easy to understand
@my_love_sanatan
@my_love_sanatan 3 жыл бұрын
can we change deta using within scope?
@rama815
@rama815 3 жыл бұрын
Nice explanation Sheryank !! I always used to get confuse while using run Scope Function. {let + with }
@FriendlyProgrammer
@FriendlyProgrammer 4 жыл бұрын
Thank you so much sir to explain these functions so easily and clearly.
@kalyanimeshram7669
@kalyanimeshram7669 2 жыл бұрын
just so knowledgeable ❤
@edusantino6317
@edusantino6317 3 жыл бұрын
Why don't you put your content on Udemy or another platform? For sure, your teaching is among the best I've ever seen! Extremely valuable content!
@Nithin_Coorg
@Nithin_Coorg 2 жыл бұрын
So crisp!
@hdkloh
@hdkloh 4 жыл бұрын
Welcome back... Pls make series on New Material Design Components 2020
@himangshubiswas542
@himangshubiswas542 3 жыл бұрын
It was useful, thank you
@Bingo20678
@Bingo20678 4 жыл бұрын
Hey bro, ur tutorial videos were very helpful for me to learn more about kotlin. Thanks for every tips you hd given in every videos. During this lockdown I'm trying to build modads specifically for rewarded advertisement using kotlin, but confused with the adding of items in toolbars and linking with rewarded videos. Yes I'm beginner here!
@eunjeongchoi5074
@eunjeongchoi5074 3 жыл бұрын
wow i finally got the concept thanks a lot!!!
@santoshsali8954
@santoshsali8954 3 жыл бұрын
Very nice Explanation.... Please made some videos on DS and Algorithms
@tarunsharma4823
@tarunsharma4823 4 жыл бұрын
Hi Sriyank I appreciate your and ur mate video about kotlin and others. They are very neat and clean. Can you create a series on Dagger like hilt.
@chintankhetiya
@chintankhetiya Жыл бұрын
Sriyank Extermaly good content. May I know how you edit your videos to which software you are using for building and design such videos.
@ronakgoyal2269
@ronakgoyal2269 3 жыл бұрын
Awesome video and nicely explained. Kudos to u :)
@bala_24
@bala_24 4 жыл бұрын
Nicely explained
@mkc0321
@mkc0321 4 жыл бұрын
very good video
@refreshing_morning
@refreshing_morning 4 жыл бұрын
Welcome back sir
@kpranjith
@kpranjith Жыл бұрын
the best !!!
@Rajmanov
@Rajmanov 4 жыл бұрын
Welcome Back!!😍
@amirkotin5898
@amirkotin5898 Жыл бұрын
Thanx sir I am little bit confuse what is difference between let and run
@harmindersingh5364
@harmindersingh5364 2 жыл бұрын
Can you tell how you do video editing in your videos .
@smartherd
@smartherd 2 жыл бұрын
Yes, camtasia
@harmindersingh5364
@harmindersingh5364 2 жыл бұрын
@@smartherd but with that can we able to do screen marker animation that you show in videos to highlighting the concept
@smartherd
@smartherd 2 жыл бұрын
@@harmindersingh5364 yes . you can explore camtasia annotations and callouts on Google
@hissabis2068
@hissabis2068 4 жыл бұрын
Perfect. Thanks a lot.
@anoundhim4393
@anoundhim4393 4 жыл бұрын
finally you back sir
@JK92007
@JK92007 4 жыл бұрын
भाई फिर से एडवांस्ड फलटर सीरीज चालू करो....👌👌👍👍 बहोत अच्छा समजाते हो.....
@foodpass6737
@foodpass6737 4 жыл бұрын
Welcome back
@divyathakur7320
@divyathakur7320 3 жыл бұрын
whats the difference between run and let, you have wriiten same description for both,, only difference is referring contextobject with it and this, is this the only difference?
@yesireact
@yesireact 3 жыл бұрын
Gud tut
@noshingh521
@noshingh521 4 жыл бұрын
New video from legendary Sriyank after one year...
@utsavpopli3951
@utsavpopli3951 3 жыл бұрын
Thank you for such a nice explanation. This helps a lot. To be honest, Kotlin is one of the biggest disaster in programming world. But due to some heavy investment in Kotlin our company I would have to learn and work on it.
@ArpitParekhWriter
@ArpitParekhWriter 3 жыл бұрын
u r awesome
@ranjini9334
@ranjini9334 2 жыл бұрын
I used your code changed the apis it crashes on login anybody else facing this issue? please let me know how to fix this..
@JK92007
@JK92007 4 жыл бұрын
वेरी हैप्पी to सी यु ...👍👍👍😊😊😊☺🎂💐💐
@mohammedashfaqueaslam2566
@mohammedashfaqueaslam2566 4 жыл бұрын
please do a video on delegation in kotlin
@RAJKTARIYA
@RAJKTARIYA 3 жыл бұрын
Great
@avvjt
@avvjt 4 жыл бұрын
Miss you sir
@smartherd
@smartherd 4 жыл бұрын
I am back 🔥
@provokator-provocateur7603
@provokator-provocateur7603 2 жыл бұрын
veri gud maj frend veri veri gud
@mustafaylmazerdagl4127
@mustafaylmazerdagl4127 3 жыл бұрын
Superrrrrrrrrrrrrrrr
@abhishekpant4927
@abhishekpant4927 3 жыл бұрын
fine
@ivootty_s_world
@ivootty_s_world 4 жыл бұрын
I am just a beginner in kotlin and can anyone help me to do this program to create password? 1.User should be able to enter the text 2.Find odd numbered words(eg. *Hai How are you?* ,where odd numbered words are Hai,are) 3.Select even numbered character from the selected words 3.Pswd length should be greater or equal to total word count(eg.Hi How are you?,word count=4 and pswd length should be >=4)Add * to make the word count equal to pswd length.(if word count=5,and pswd length=2 then add 3 '*')(if pswd =st and word length is 5,final pswd must be st***) 4.include single quote ' ' before and after the pswd for better understanding 5.Character count must start from 1 not from 0(H-1,a-2,i-3..vice versa) Eg.input text:Hai. How aRe you? Output:'a.R*' Input text:Hellooooo. How r you? Output:'eloo'
@deepakshah3108
@deepakshah3108 Жыл бұрын
val person = PersonData() val value: Int = with(person) { name = "Deepak" } val person1 = PersonData().apply { name = "Deepak" } I can do the same thing with apply and with then now how to know where to use which one?
@illuminati_911
@illuminati_911 8 ай бұрын
val person = PersonData() val value: Int = with(person) { name = "Gamdu" }
@adii18s
@adii18s 4 жыл бұрын
Flutter Advanced Tutorials like making an music app,instagram clone,etc using flutter please🙏🙏
@vengateshm2122
@vengateshm2122 4 жыл бұрын
It seems run and let are same with difference of this and it.
@abhisheksingh3825
@abhisheksingh3825 3 жыл бұрын
Yeah I also observed same. Also I think we can do most work using with, apply and let
@rahul5177
@rahul5177 4 жыл бұрын
Sir i'm learning Android by java not kotlin. Sir what to do please tell me?
@shivamchawla6126
@shivamchawla6126 4 жыл бұрын
your concept is bit confusing and incomplete at 24:28 you said "Use safe call with run to avoid null pointer" but what is the point of using " obj?.let{} " if we can already make our code null safe with run and what is the difference in " obj?.also{} ", one more thing you modified the contents of the list by adding numbers inside also{} which is wrong we should not modify the contents of object inside also{}
@Muhammad-sx7wr
@Muhammad-sx7wr 3 жыл бұрын
2:12 I just hate it when they find a new way to do the same thing people have been doing for ages. Calling it more concise and easier to read what's the point of constantly learning new ways to do the same thing?
@teenpattiscripter4250
@teenpattiscripter4250 3 жыл бұрын
Hindi
@EngTechWithRakesh
@EngTechWithRakesh 4 жыл бұрын
Plz remove subtitle, i can not view entire code
@srikanthp2036
@srikanthp2036 4 жыл бұрын
Disable captions in your settings. You have enabled it.
@EngTechWithRakesh
@EngTechWithRakesh 4 жыл бұрын
@@srikanthp2036 thnks sir
@dewetvanrooyen8458
@dewetvanrooyen8458 3 жыл бұрын
Thank for this excellent explanation , I am now more confidant and will use this vid reference to research my memory. Can you please create a video where you use these Scope fun in an Android app.
@sapariyamiral5891
@sapariyamiral5891 2 жыл бұрын
Very nice explanation 👌
@RKClass
@RKClass 4 жыл бұрын
Welcome back sir
@niraldhameliya5282
@niraldhameliya5282 4 жыл бұрын
Welcome back
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Let, Also, Apply, Run, With - Kotlin Scope Functions
11:44
Philipp Lackner
Рет қаралды 99 М.
Kotlin Sealed Class (With Demo Source code)
11:17
Smartherd
Рет қаралды 19 М.
Kotlin Coroutine (High-quality Course)
2:07:37
Smartherd
Рет қаралды 108 М.
Kotlin Coroutines 101 - Android Conference Talks
24:49
Android Developers
Рет қаралды 138 М.
Kotlin Dispatchers, CoroutineContext, and CoroutineScope
21:30
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН