Why we are using function names like this DefaultPreview instead of following camelcase format as we usually do for function naming ? Any specify reasons?
Sir, Can you explain what actually annotation "Composable" means as I Saw when you go in Text.kt file where function "Text" is also annotated with Composable
It's a annotation that you use to make a function Composable. Jeptpack compose framework needs to know which function is Composable function to that it can render it as per the framework. The thing that differentiates a normal function from Composable function is the annotation Composable. Hope this helps.
Nice👏
Why we are using function names like this DefaultPreview instead of following camelcase format as we usually do for function naming ? Any specify reasons?
Sir, Can you explain what actually annotation "Composable" means as I Saw when you go in Text.kt file where function "Text" is also annotated with Composable
It's a annotation that you use to make a function Composable. Jeptpack compose framework needs to know which function is Composable function to that it can render it as per the framework. The thing that differentiates a normal function from Composable function is the annotation Composable. Hope this helps.
thanks you sir @@Codetutor-DemystifyCoding 🙂