Object - Kotlin Vocabulary

  Рет қаралды 32,685

Android Developers

Android Developers

Күн бұрын

Пікірлер: 46
@codinginflow
@codinginflow 4 жыл бұрын
The animations for the different threads are really well done 👍
@muralitharan9790
@muralitharan9790 4 жыл бұрын
Super clear explanation , need more videos about kotlin like this
@busra.tuncdan
@busra.tuncdan 4 жыл бұрын
So clear and fluent. Thanks 👍
@goobar
@goobar 4 жыл бұрын
I ♥️ object classes. I also ♥️ the Voltron in the background 😀
@ashikurrahaman7557
@ashikurrahaman7557 2 жыл бұрын
So clear, thanks a lot
@foivosstamopoulos9709
@foivosstamopoulos9709 4 жыл бұрын
Very nice explanations!
@JolanRensen
@JolanRensen 4 жыл бұрын
Maybe something about delegates in the future? They're really special and powerful when used well, but I don't think many people know how to use them.
@dadot1738
@dadot1738 3 жыл бұрын
this video helped thanks
@ChunkyChest
@ChunkyChest 4 жыл бұрын
thanks for demonstrating expression based instantiation too.
@szLynAs
@szLynAs 4 жыл бұрын
Great video and awesome cap in the end
@hitec1691
@hitec1691 4 жыл бұрын
Nice videos!! please make videos about other topics like generics, sealed classes, inline etc. Thank you
@erictsang0
@erictsang0 4 жыл бұрын
They already have a video for sealed classes
@apoorvgupta2511
@apoorvgupta2511 4 жыл бұрын
They have video on inline. Check the playlist
@apoorvgupta2511
@apoorvgupta2511 4 жыл бұрын
More kotlin videos please!!
@pawewodarczyk1546
@pawewodarczyk1546 4 жыл бұрын
For curious, there is also one thing that anonymous objects in Kotlin can do unlike their Java's counterparts: implement multiple interfaces at once, like that: object : Interface1, Interface2 {}
@Alberto_Cavalcante
@Alberto_Cavalcante 2 жыл бұрын
This is great.
@StevdzaSan
@StevdzaSan 4 жыл бұрын
Nice explanation 😊
@TZCoder
@TZCoder 3 жыл бұрын
Really confused here, if Object automatically creates a Singleton without the Java boilerplate why does something like Room Database creation still require all the synchronized block and @Volatile annotation same as in Java? You can see this in the official google Room Codelab here github.com/googlecodelabs/android-room-with-a-view/blob/kotlin/app/src/main/java/com/example/android/roomwordssample/WordRoomDatabase.kt
@rituagarwal6155
@rituagarwal6155 4 жыл бұрын
I want this beanie 😍
@diegofarias6337
@diegofarias6337 4 жыл бұрын
Very good!
@apoorvgupta2511
@apoorvgupta2511 4 жыл бұрын
6:34 There is no colon between object and braces var temp = object{ var value = 2 var another = 3 }
4 жыл бұрын
Thanks for that, I was wondering why I got errors trying it out :D
@keshavjha9835
@keshavjha9835 4 жыл бұрын
what does an instance of an object mean? is it different from the instance of a class?
@theren8311
@theren8311 4 жыл бұрын
7:03 Boy.... That escalated quickly.
@admiring_sunny
@admiring_sunny 4 жыл бұрын
thank you sir
@wasimbadsha4342
@wasimbadsha4342 4 жыл бұрын
Coool 🤩🥰👍
@samwelotieno9452
@samwelotieno9452 3 жыл бұрын
Does it get easier?
@JoeyTemme
@JoeyTemme 4 жыл бұрын
Not all of us come from a Java background. I'm new to Kotlin but I think this info would have been clearer to me if you spoke in Kotlin terms first and saved the Java analogies for later.
@elron2010
@elron2010 4 жыл бұрын
Hey, where did you get that hat ?
@yenerm
@yenerm 4 жыл бұрын
years ago from Google merchandise store :)
@pxnx
@pxnx 4 жыл бұрын
neat
@dontbotherreading
@dontbotherreading 4 жыл бұрын
Learning Kotlin for Android, made my first app with Java in 2016, anyone else self taught that managed to find employment?
@TamimProduction
@TamimProduction 4 жыл бұрын
Found my first job at the age of 18 as a junior android developer, after 6 months I became a middle android developer, completley self-taught, and currently a student, thinking about dropping university soon. If you're self taught and you love what you're doing, you'll be far more successful, good luck ✊
@AmitJayant
@AmitJayant 2 жыл бұрын
Made my first app in 2012. Completely self taught. Joined Android dev company but pay was half that I was making with my own apps. So left that job. Now many years later, I find myself struggling to keep up the expenses and obviously cannot get job due to age factor and work experience (yes this is a thing in India).
@RonnyBeeeeee
@RonnyBeeeeee 4 жыл бұрын
Learning object oriented languages is wasting of time. Learn functional languages for instance Clojure. Updating a value in a nested data class structure in Kotlin is a big copy chain which is so cumbersome. In Clojure it's (assoc-in value [:users 4 :address :zip] 12345) for updating the zip code of the 5th user in a list.
@SanketBhat7
@SanketBhat7 4 жыл бұрын
Seriously I don't see any major advantage of "object" keyword for singleton in kotlin. Because * It does not support parameterized singleton * We can create singleton without "object" with just two more lines having a lot of control over it.
@jeevansurendran
@jeevansurendran 4 жыл бұрын
What are the two lines ?
@SanketBhat7
@SanketBhat7 4 жыл бұрын
@@jeevansurendran that is initialising object in static block as explained in the video 4:23
@gregorylureau1267
@gregorylureau1267 4 жыл бұрын
Because most of the time we don't need parameterized singleton and we don't want to copy/paste the 2 lines? Also it's good to know it can be used if required, I wasn't aware of this static {} block.
@SanketBhat7
@SanketBhat7 4 жыл бұрын
@@gregorylureau1267 Atleast in android world most of the singletons require "context" as a parameter. "object" keyword could have an option to give parameter instead of not having it at all.
@gregorylureau1267
@gregorylureau1267 4 жыл бұрын
@@SanketBhat7 do you retrieve resources like colors from the app context?
@surajchougule5462
@surajchougule5462 3 жыл бұрын
Nice explanation 👍👍
Reified - Kotlin Vocabulary
5:59
Android Developers
Рет қаралды 30 М.
Delegating delegates - Kotlin Vocabulary
8:44
Android Developers
Рет қаралды 26 М.
Wednesday VS Enid: Who is The Best Mommy? #shorts
0:14
Troom Oki Toki
Рет қаралды 50 МЛН
I Sent a Subscriber to Disneyland
0:27
MrBeast
Рет қаралды 104 МЛН
요즘유행 찍는법
0:34
오마이비키 OMV
Рет қаралды 12 МЛН
Suspend functions - Kotlin Vocabulary
9:03
Android Developers
Рет қаралды 51 М.
Let, Also, Apply, Run, With - Kotlin Scope Functions
11:44
Philipp Lackner
Рет қаралды 100 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 285 М.
Kotlin: Урок 17. Sealed Классы
5:33
Devcolibri
Рет қаралды 23 М.
Full Guide to Delegation in Kotlin  - Android Studio Tutorial
18:10
Philipp Lackner
Рет қаралды 73 М.
D8, R8 and enums - Kotlin Vocabulary
6:02
Android Developers
Рет қаралды 35 М.
Variance... without Generics!
9:01
Dave Leeds
Рет қаралды 8 М.
Kotlin Coroutines 101 - Android Conference Talks
24:49
Android Developers
Рет қаралды 139 М.