4 days ago, I finished your Kotlin tutorial series. since yesterday, I've been working on this one. It seems since the next one, it's going to be much more than a brief code in MainActivity and some xml. It's a good thing you provide this relatively easy introduction, so don't consider it a complaint. So far, both series are simply amazing. Although some things might have changed, I couldn't find any better tutorial and this one seems to hold up great. I don't usually comment on videos, though these series are special. 10/10, will recommend it to anyone interested in learning kotlin and AS. Thank you for your brilliant work, hope to see more!
Mr. Philipp Lackner. I am called John, and I am a teacher at a school in Makassar, Indonesia. I first saw and learned your tutor from the video 'Build a simple android app with kotlin', and it turned out to be really simple. I am so excited to make teaching apps for my students. Thank you for your video and please continue to share through this channel.
Thank you for the awesome lesson! I am a university student from Japan, and I'm not good at English. However, your lesson is very easy to understand (because you speak slowly, use easy words, and show me coding), so I learned very useful functions!
Working through your fundamentals playlist, absolutely brilliant. Clear concise and really well structured. The book that I just bought on the subject is going straight in the garbage.
I have used to work out in my case was: if ( cheese ) " \Cheese " else { " " } )+ in case you have found any issues following along as it is in this video.
Thank you a lot. It's pleasure to learn anything with some interesting clear examples. I believe it's a highly effective way to master development skills
Moin Philipp! One question: how can one make the RadioGroup work with viewBinding instead of the deprecated Synthetics? I can't get the RadioButton text returned, only an Int is returned. Should I use dataBinding instead?
any updates on this Philipp? I know everything is migrating toward jetpack, but it would be nice to know how to utilize binding functionality and not use findViewByID.
@@scomaliaI found the way to replace that findViewById with viewBinding: Modify Philipp's variable declarations with the following versions, provided that you've already enabled viewBinding in build.gradle: val checkedMeatRadioButtonId = binding.rgMeat.checkedRadioButtonId val meatType = binding.root.findViewById(checkedMeatRadioButtonId) It's a drop-in replacement, the rest of the code works 100% with it.
@@user-jd1nz3li3m did you enable viewBinding in build.gradle? Also, in MainActivity you need the following: private lateinit var binding: ActivityMainBinding // BEFORE override fun onCreate and binding = ActivityMainBinding.inflate(layoutInflater) // AFTER super.onCreate(savedInstanceState) If in doubt, check the implementation of viewBinding here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-z0F2QTAKsWU.html
Hi Philipp, I have a question about the if statement for the check box as you showed below. I don't understand of (if(cheese) " Cheese" else ""). Does it simillar with the statement below? if(cheese) "You picked cheese" else "" If yes, does it means Kotlin will returned to us an individual data, in this case, cheese when we clicked or tap it?
I am not sure if I understand your question. But the line (if(cheese) " Cheese" else "") it simply adds the text string "cheese" to the text string orderString on a new line when cheese is selected in the checkbox. That is what the backslash is for. Your example if(cheese) "You picked cheese" else "" would add the text string "You picked cheese" to the text string orderString directly after the text without a new line when cheese is selected in the checkbox.
Hi, great video. I have one issue I was hoping you call help me with. I cannot get Android Studio to recognize my radiogroup, radiobuttons, and checkboxes created in the design. Do you know what would be causing this? I see you are using an import kotlinx which is no longer used. Do you know what I would use as a replacement?
@@sb-cr4wu I think you need first to find their id for example var rgMeat = findViewById(R.id.rgMeat) then it should be worked with you var checkedMeatRadioButtonId = rgMeat.checkedRadioButtonId