Тэги:
#android #androidstudio #development #programming #kotlin #code #tutorial #rahulpandey #rahul #pandey #teach #kotlin_constructors #kotlin_init_block #kotlin_best_practice #kotlin_best_practices #kotlin_android #java_to_kotlin #kotlin_style #kotlin_oop #kotlin_object_oriented_programming #kotlin_mistakesКомментарии:
Thanks
Ответитьwhat if the doesSmile is false
will it throw an error for nickname undefined
If we write the smily code wothout int it still will be working. So whats the purpose of init here i didnt get it?
ОтветитьThanks for the excellent video, I learned a lot!
Question? I come from JavaScript and I was wondering does Kotlin have High Order Arrays? Examples would be forEach, map, filter, reduce. Or what about arrow functions? I am spoiled with JavaScript and so far I haven't seen other programming languages with these features. Thank you.!!
good job Rahul could you made us video about code optimisations fro more clean code ?
ОтветитьHi Rahul! Nice video!
I was wondering what are your thoughts on the kind of logic that should go into the init{} method.
I'm interested in some cases where instances of ViewModels have their init{} performing some sort of communication with repositories. I have a feeling that init{} shouldn't perform such implicit actions (which may also introduce side effects). Do you have any thoughts on it?
Again, thanks for the content! Have a good day.
Your example is so simple and concise. Straight to the point.
ОтветитьI tried to create the Person class in a separate file. It goes under the resources directory. And I'm not able to import it in my main.kt file. How can I import that kotlin Person.kt file?
ОтветитьExactly to the point video!
thanks brother
Sir can you teach us how REST API is used in one more fragment plz
ОтветитьHi. Why is doesSmile not the member variable? Could you please elaborate?
ОтветитьSir, your videos are awesome.
ОтветитьCan you do a video on keyboard shortcuts? I do everything the hard way and I would like to be more efficient.
ОтветитьAwesome. Loved it
ОтветитьMore videos on best practices please! ✨🙌
ОтветитьRahul: Deliberately made it suboptimal...
Me, a suboptimal engineer: Nice