When to prefer a Property over a Function? (Functions vs. Properties: Kotlin Coding Convention)

When to prefer a Property over a Function? (Functions vs. Properties: Kotlin Coding Convention)

Smartherd

2 года назад

3,957 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@SriyankSiddhartha
@SriyankSiddhartha - 28.02.2022 07:48

Comment to support. Thanks!

Ответить
@Reg98
@Reg98 - 23.02.2023 23:30

Comment for support

Ответить
@techach3490
@techach3490 - 24.04.2022 15:24

Great tutorial as always.

Ответить
@CrapE_DM
@CrapE_DM - 28.03.2022 20:51

Your availableSpace property DOES meet the criteria you show. It only changes when the state changes.

Ответить
@AndroidDeveloperTips
@AndroidDeveloperTips - 20.03.2022 15:38

Good one! 👍

Ответить
@saranyagovindan8423
@saranyagovindan8423 - 10.03.2022 11:23

Very informative, thanks

Ответить
@truongnn2512
@truongnn2512 - 06.03.2022 18:00

thank you very much for this video

Ответить
@nachiappans7030
@nachiappans7030 - 04.03.2022 07:59

Can I know which better like setting property to class using constructor vs function

Ответить
@mkc0321
@mkc0321 - 01.03.2022 12:40

very helpful

Ответить
@qpdbwvwdbqp4730
@qpdbwvwdbqp4730 - 01.03.2022 03:40

Very useful. Thanks.

Ответить
@narendrashere
@narendrashere - 28.02.2022 09:49

It's really informative. Could you please make video for communication between Coroutines via channels?
Thanks

Ответить
@sanathkumaru6358
@sanathkumaru6358 - 28.02.2022 09:43

Thanks. Very informative

Ответить
@shakibhasan858
@shakibhasan858 - 28.02.2022 09:39

Comment to support.
Please make a video on sharedFlow and Databinding

Ответить
@tiamabderezai5374
@tiamabderezai5374 - 28.02.2022 09:27

I love your videos man. Great stuff 👍

Ответить
@prabhusingh1015
@prabhusingh1015 - 28.02.2022 07:59

Please make a video on JvmInline and the value keyword.

Ответить