You know I check several medium posts by I was unable to understand. After I saw the 4 min of video I just get the point. It is really great.
@UnderDogStudioz799 Жыл бұрын
The last summary is always helpful , It helps me to create the short notes of the concept 🥰
@fursatmaigungunaya82482 жыл бұрын
How to use lazy with var please do let us know as we didn't find regarding this any doc?
@sharifullahOfficial026 ай бұрын
proud on you sir, i like you from Pakistan
@sagarock10124 жыл бұрын
Simple and clean explanation to the point
@FunnyFlicks1214 жыл бұрын
Best course ever awesome experience love from Pakistan
@brucebane74014 жыл бұрын
amazing !!!!love from detroit
@al-aminislam14932 жыл бұрын
Very clear explanation
@smartherd2 жыл бұрын
Glad you liked it
@androidpc96562 жыл бұрын
@@smartherd How to use lazy with var
@MelErtekin Жыл бұрын
The video was good at the beginning, but I got confused at the end. Is't lazy only for non-nullable val variables?
@footballCartoon912 жыл бұрын
i have several questions.. 1) when does the memory for lazy object/data will get destroyed? is it the same concept with static keyword in C++ ? or like companion object (because many forums seems to suggest companion object is actually a static data 2) if the lazy data can be null why is that you want to even use that data? 3) if the lazy data is a var , what will happen if multiple objects are using it like assignment of new values. Will the last assignment overwrites previous assignment? which makes me think of like a global variable in C++ and a little bit like a class in the context of memory usage (i.e memory is not allocated until you instantiate it) 3) if number three is correct, should i handle null explicitly?. if for example the last assignment is null.
@flamingburger9492 жыл бұрын
you're amazing
@sohailpathan14365 жыл бұрын
Great Explanation
@ranganafernando5115 жыл бұрын
Great video
@pradeep92223 жыл бұрын
thank you so much it's helpful
@UpLiftingU0072 жыл бұрын
Can you make an video on 'LazyThreadSafteyMode' types , which type to use ,during initialisation of lazy{}
@AkashJhaDDN5 жыл бұрын
Is it available in var also
@himanshutariyal76485 жыл бұрын
Are there any commands for the input by t he user ? I was not able to find them in the whole module
@yktoledo4 жыл бұрын
One question: would have sense in the case of viewbinding? mean if I have private lateinit var xmlFileNameBinding: XmlFileNameBinding private val textFieldVar by lazy { xmlFileNameBinding.textFieldId } or when viewbinding comes into play no lazy initialization needed?
@SaturnStarOfDavid2 жыл бұрын
No it doesnt make any sense. Non what so ever. Ctl-A Delete.
@sudhanshusharma91595 жыл бұрын
here is error Operator call corresponds to a dot-qualified call 'pi.times(4)' which is not allowed on a nullable receiver 'pi'. below i code. val pi : Float ? by lazy { 3.14f } fun main() { println("test lazy initialization") val area = pi *4 * 4 // error here //println(pi) }
@ajaykeshri9715 жыл бұрын
super tutorial
@sreenivasangk43475 жыл бұрын
Lazy is not a keyword. It is lamda function.
@maansoftwares38136 жыл бұрын
sorry but i think lazy are only for val because lazy blog cant run second time so no use of var
@veeralavan23725 жыл бұрын
@Maan, if any other initializer available for var (l.e lazy initializer)
@vedantjha2327 Жыл бұрын
Yes lazy can be applied to val
@dennisgonzales95214 жыл бұрын
Awesome
@personalchaoyu87325 жыл бұрын
thanks.
@divyeshganvit45996 жыл бұрын
Hi sir i like your videos how many more videos come future about kotlin. ?