Just a suggestion Please use light theme with large font ..u can change font through settings of IDE. For mobile users its hard to zoom in every time. Thanks a lot for your initiative to introduce android development teaching thr YT
Both have their own advantages. I have been trying flutter for a while now. Liking how quick it is. But native is native. So you have to decide. I will say don't restrict yourself. Learn both of them for now.
as per i know when we create properties in constructor we cannot keep them empty in object, there are some properties which we want to keep empty. but if we have this condition we create secondary construtor. Eg we have to fill first name, last name, age and not middle name so we cannot keep those properties empty in object. val person = Person("Harry", ,"Jones",25 ). Here one property is empty which will cause error (two commas) .There is also method to put default values for properties
this is the syntax of kotlin which helps in not creating constructor every time unlike java . they are created inside the primary constructor using constructor keyword
Generally we want to have multiple constructors for a class. You want to provide different ways to create an object of a class. That is why we need secondary constructor.
Primary Constructor: The primary constructor of the class is executed first, initializing any properties or performing any tasks defined in the constructor parameters. Init Blocks: After the primary constructor, the init blocks are executed in the order in which they appear in the class body. Multiple init blocks are executed in the order they are defined. Secondary Constructors: If there are any secondary constructors, they are executed after the init blocks.
hello sir i am currently working on tiktok clone project , can i get any reference for video editor or have you ever worked on video editor then please share your experience.. i am waiting.
Never worked on editing of videos via Android. Had made some image editing apps. You can checkout ffmpeg for this. It has various things that you need to figure out. Try some open source on GitHub. You can take inspiration from that.
I think, Kotlin was developed only to degrade Java. init{} block was very unfair. How to perform constructor overloading then? Dart is much better than Kotlin.
Just a suggestion
Please use light theme with large font ..u can change font through settings of IDE. For mobile users its hard to zoom in every time. Thanks a lot for your initiative to introduce android development teaching thr YT
Wow, Sir returns. Guess its time to start Kotlin as well. Thank you in advance
Thanks a lot for your initiative to introduce android development teaching
😇
Now it is becoming more complex 🥲🥲
Very Good Explanation
Thanks Sir
good content sir...but in present which is better flutter with dart or android with java/kotlin for mobile app development?
Both have their own advantages. I have been trying flutter for a while now. Liking how quick it is. But native is native. So you have to decide.
I will say don't restrict yourself. Learn both of them for now.
@@CheezyCode okay sir
so hows it going so far?
@@2kuu going nice. I have learned flutter too.
@@minalchhetri3878 got any job/internship?
One clarity...Whats the specific reason to call a primary constructor from any secondary constructor? unlike Java...any reason?
as per i know when we create properties in constructor we cannot keep them empty in object, there are some properties which we want to keep empty. but if we have this condition we create secondary construtor. Eg we have to fill first name, last name, age and not middle name so we cannot keep those properties empty in object. val person = Person("Harry", ,"Jones",25 ).
Here one property is empty which will cause error (two commas)
.There is also method to put default values for properties
this is the syntax of kotlin which helps in not creating constructor every time unlike java .
they are created inside the primary constructor using constructor keyword
Thank-you
Sir what will be the difference between making a secondary constructor and sending default values for the class params?
Generally we want to have multiple constructors for a class. You want to provide different ways to create an object of a class. That is why we need secondary constructor.
@@CheezyCode ok Sir
Secondary constructor clear हो गया सर अब init block थोड़ा और समझा दीजिये plz and Thank you for awesome tutorial
Object creation pe kuch logic execute karna hai ya kuch set of lines execute karna h toh init block ka use karte h
Hello sir how to clear cache of recycler view loading products
koi aur info?
Is Init block called after the Constructor at the time of Object Creation?
Primary Constructor: The primary constructor of the class is executed first, initializing any properties or performing any tasks defined in the constructor parameters.
Init Blocks: After the primary constructor, the init blocks are executed in the order in which they appear in the class body. Multiple init blocks are executed in the order they are defined.
Secondary Constructors: If there are any secondary constructors, they are executed after the init blocks.
Very 🎉nice
Are there no concept of private and public ?? as these class are very much similar to structure in c/c++.
Yes it has. Visibility modifiers - you can check that video in the playlist
@@CheezyCode Okay, Thanks buddy !
hello sir i am currently working on tiktok clone project , can i get any reference for video editor or have you ever worked on video editor then please share your experience.. i am waiting.
Never worked on editing of videos via Android. Had made some image editing apps.
You can checkout ffmpeg for this. It has various things that you need to figure out. Try some open source on GitHub. You can take inspiration from that.
send me link for tiktok project clone plzz
Parameters with class are constructors? @5:08
When you define parameters with class name they are part of primary constuctor
@@CheezyCode ok Thanks
difference in init block and constructors ?
To perform additional initialization logic that might not be directly handled by the constructor
@@CheezyCode thanks bro
👍
sir m 10 bar ye vdo dekh chuka hu but mujhe ye topic smjh nhi aa rha bilkul bhi.... help me.. kli or vdo ho to plz btao..
Code karlo - print karo statements...har place pe jahan doubt hai...clear hojayega
@@CheezyCode sir android tutorial kotlin poori pdhne k bad start kru ya sath sath start krna chahiye?
Saath saath
There are some things that u have not explained clearly aap mumbai nhy aa rahe he we are sorry
Like what?
I think, Kotlin was developed only to degrade Java. init{} block was very unfair. How to perform constructor overloading then?
Dart is much better than Kotlin.
At the end, it’s hard 😢
No it's not
SIR SIMPLE tarike se samjhau na sir itna kuyn comlicated karte ho......
Yaar isse simple 🙁🤐
@@CheezyCode isse simple to possible hi nhi hain, thanks a lot for your videos
LoL