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

  Рет қаралды 65,230

Smartherd

Smartherd

Күн бұрын

Пікірлер: 101
@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 3 жыл бұрын
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 6 ай бұрын
@@Mohit-gb9dv
@soontaek
@soontaek 3 жыл бұрын
The best explanation one can ever find on KZbin. Thank you!
@BhagyashreeAware
@BhagyashreeAware Ай бұрын
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
@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.
@vinamra4893
@vinamra4893 4 жыл бұрын
Finally you're back!! Your content is very clear, concise and neat!!
@sumanparajuli229
@sumanparajuli229 4 жыл бұрын
Finally, you come back........ make as soon as more flutter tutorial....
@zakwanibrahim7283
@zakwanibrahim7283 3 жыл бұрын
i have followed this playlist video by video..... my concepts are clear now .... thanks sriyank ....
@VenewebTV
@VenewebTV 2 жыл бұрын
Excellet video, very useful and impeccable didactic, regards from Caracas, Venezuela
@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.
@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
@abbosfayziboyev6441
@abbosfayziboyev6441 2 жыл бұрын
Thank you a lot. I want that every learner can find the most proper lessons for themselves in this channel !!!
@HocineFerradj
@HocineFerradj Жыл бұрын
Thanks for this most wonderful explanation . It deserves a Million Stars and a billion ratings
@anjumohanan3149
@anjumohanan3149 3 жыл бұрын
Well explained. Couldnt drop in between. Such an interesting explanation
@phuang3
@phuang3 11 ай бұрын
Best video on Kotlin scope functions. Subscribed. Thank you.
@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?
@edusantino6317
@edusantino6317 2 жыл бұрын
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!
@azei6049
@azei6049 Жыл бұрын
Awesome vid tutorial! Thank you!
@appletree3395
@appletree3395 2 жыл бұрын
Very well explained! Thank you so much ❤️
@RichaHope
@RichaHope 3 жыл бұрын
Thank you for such an understandable video 🙏
@syedhuzaifa2106
@syedhuzaifa2106 3 ай бұрын
Thank you, awesome explanation.
@hardcodeandroid
@hardcodeandroid 4 жыл бұрын
sir I am also your fan and "welcome you". Continue this course
@tomaslopez9999
@tomaslopez9999 2 жыл бұрын
Thanks for creating this video.
@avigneswaranwaran
@avigneswaranwaran Жыл бұрын
Really a wonderfull explanation. Thanks a lot
@ricardoruiz2800
@ricardoruiz2800 3 жыл бұрын
Why not using ?.operator with the other scope functions? Thanks.
@jangraanish
@jangraanish 2 жыл бұрын
I just want to say Woooowwwww. what a way to explain things.
@tavoleyva8235
@tavoleyva8235 3 жыл бұрын
Great video!
@pravinmane1
@pravinmane1 3 жыл бұрын
Thank you so much!!!!! This is the best explanation I have found on the internet.
@parthapaul1249
@parthapaul1249 3 жыл бұрын
Thanks a lot
@Sara-oy6ly
@Sara-oy6ly 2 жыл бұрын
Thank you 🙏🙏🙏🙏
@rama815
@rama815 3 жыл бұрын
Nice explanation Sheryank !! I always used to get confuse while using run Scope Function. {let + with }
@vinothini27
@vinothini27 2 жыл бұрын
Nicely explained thanks
@lokeshprajapati9197
@lokeshprajapati9197 4 жыл бұрын
welcome, finally you are back, now we will learn something great.
@journeywithjaydev
@journeywithjaydev 2 жыл бұрын
Very good explanation 👍
@mkc0321
@mkc0321 4 жыл бұрын
very good video
@kelvinclark3474
@kelvinclark3474 4 жыл бұрын
Great tutor, I liked and subscribed before i got half way. Thanks much
@jessepollack2815
@jessepollack2815 3 жыл бұрын
this is an excellent video
@InaAgapito
@InaAgapito 2 жыл бұрын
Wow the way that you have explain it was so easy to understand
@FriendlyProgrammer
@FriendlyProgrammer 3 жыл бұрын
Thank you so much sir to explain these functions so easily and clearly.
@himangshubiswas542
@himangshubiswas542 2 жыл бұрын
It was useful, thank you
@ArjunVerma-lq4cf
@ArjunVerma-lq4cf 3 жыл бұрын
Excellent way of making videos
@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!
@krishnamandava9919
@krishnamandava9919 4 жыл бұрын
Happy to see you again. Please continue uploading videos
@Nithin_Coorg
@Nithin_Coorg 2 жыл бұрын
So crisp!
@kalyanimeshram7669
@kalyanimeshram7669 Жыл бұрын
just so knowledgeable ❤
@hdkloh6857
@hdkloh6857 4 жыл бұрын
Welcome back... Pls make series on New Material Design Components 2020
@tarunsharma4823
@tarunsharma4823 3 жыл бұрын
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.
@willorwig1824
@willorwig1824 2 жыл бұрын
Very good video. Thank you very much!
@santoshsali8954
@santoshsali8954 3 жыл бұрын
Very nice Explanation.... Please made some videos on DS and Algorithms
@eunjeongchoi5074
@eunjeongchoi5074 3 жыл бұрын
wow i finally got the concept thanks a lot!!!
@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.
@bala_24
@bala_24 3 жыл бұрын
Nicely explained
@kpranjith
@kpranjith 11 ай бұрын
the best !!!
@ronakgoyal2269
@ronakgoyal2269 3 жыл бұрын
Awesome video and nicely explained. Kudos to u :)
@JK92007
@JK92007 4 жыл бұрын
भाई फिर से एडवांस्ड फलटर सीरीज चालू करो....👌👌👍👍 बहोत अच्छा समजाते हो.....
@amirkotin5898
@amirkotin5898 Жыл бұрын
Thanx sir I am little bit confuse what is difference between let and run
@hissabis2068
@hissabis2068 4 жыл бұрын
Perfect. Thanks a lot.
@user-oy4dy4bt5r
@user-oy4dy4bt5r Жыл бұрын
Sriyank Extermaly good content. May I know how you edit your videos to which software you are using for building and design such videos.
@noshingh521
@noshingh521 4 жыл бұрын
New video from legendary Sriyank after one year...
@my_love_sanatan
@my_love_sanatan 2 жыл бұрын
can we change deta using within scope?
@provokator-provocateur7603
@provokator-provocateur7603 2 жыл бұрын
veri gud maj frend veri veri gud
@ArpitParekhWriter
@ArpitParekhWriter 3 жыл бұрын
u r awesome
@RKClass
@RKClass 4 жыл бұрын
Welcome back sir
@Mrr_Ball
@Mrr_Ball 3 жыл бұрын
Gud tut
@abhishekpant4927
@abhishekpant4927 2 жыл бұрын
fine
@RAJKTARIYA
@RAJKTARIYA 3 жыл бұрын
Great
@anoundhim4393
@anoundhim4393 4 жыл бұрын
finally you back sir
@mohammedashfaqueaslam2566
@mohammedashfaqueaslam2566 4 жыл бұрын
please do a video on delegation in kotlin
@mustafaylmazerdagl4127
@mustafaylmazerdagl4127 3 жыл бұрын
Superrrrrrrrrrrrrrrr
@niraldhameliya5282
@niraldhameliya5282 4 жыл бұрын
Welcome back
@Rajmanov
@Rajmanov 4 жыл бұрын
Welcome Back!!😍
@adii18s
@adii18s 4 жыл бұрын
Flutter Advanced Tutorials like making an music app,instagram clone,etc using flutter please🙏🙏
@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?
@avvjt
@avvjt 4 жыл бұрын
Miss you sir
@smartherd
@smartherd 4 жыл бұрын
I am back 🔥
@JK92007
@JK92007 4 жыл бұрын
वेरी हैप्पी to सी यु ...👍👍👍😊😊😊☺🎂💐💐
@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 5 ай бұрын
val person = PersonData() val value: Int = with(person) { name = "Gamdu" }
@ranjini9334
@ranjini9334 Жыл бұрын
I used your code changed the apis it crashes on login anybody else facing this issue? please let me know how to fix this..
@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
@ivootty_s_world
@ivootty_s_world 3 жыл бұрын
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'
@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 3 жыл бұрын
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
@rakeshkushwaha3853
@rakeshkushwaha3853 4 жыл бұрын
Plz remove subtitle, i can not view entire code
@srikanthp2036
@srikanthp2036 3 жыл бұрын
Disable captions in your settings. You have enabled it.
@rakeshkushwaha3853
@rakeshkushwaha3853 3 жыл бұрын
@@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 👌
@refreshing_morning
@refreshing_morning 4 жыл бұрын
Welcome back sir
@foodpass6737
@foodpass6737 4 жыл бұрын
Welcome back
Let, Also, Apply, Run, With - Kotlin Scope Functions
11:44
Philipp Lackner
Рет қаралды 96 М.
Throwing Swords From My Blue Cybertruck
00:32
Mini Katana
Рет қаралды 11 МЛН
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 9 МЛН
Dad Makes Daughter Clean Up Spilled Chips #shorts
00:16
Fabiosa Stories
Рет қаралды 7 МЛН
Kotlin Scope Functions Tutorial - let, run, with, apply and also
11:59
Simplified Coding
Рет қаралды 12 М.
Kotlin Scope functions : Let, Apply, Also, With, Run [2021]
30:17
Kotlin Sealed Class (With Demo Source code)
11:17
Smartherd
Рет қаралды 18 М.
Kotlin Coroutine (High-quality Course)
2:07:37
Smartherd
Рет қаралды 102 М.
5 Fatal Coroutine Mistakes Nobody Tells You About
18:15
Philipp Lackner
Рет қаралды 87 М.
Spring + Kotlin = Modern + Reactive + Productive by: Josh Long and James Ward
44:28
KotlinConf 2017 - Introduction to Coroutines by Roman Elizarov
45:32
Kotlin For Beginners - Inline, Noinline and Crossinline
9:53
Charfaoui Younes
Рет қаралды 4,3 М.