Learn to Code with Kotlin at
Check out the latest Kotlin for Android here!
Kotlin is an expressive, concise & powerful development language on Android. In this Android & Kotlin tutorial you’ll learn everything you need to know to start developing apps with Kotlin. No coding experience required! You’ll have fun developing a full scale Dinner Decider app using pure Kotlin.
Download the Dinner…
amazing… I learn a lot from this video. specially constraint and UI design and also I learn about some basic knowledge that I was looking for. you explain detail by detail and that is great.. anyway love it from Somalia.. thank you for your hard works we appreciate yuh alot.
thank you, very nice intro.
Hi , Very nice tutorial. Would this project work with later versions of Android Studio;Kotlin ? I am unable to compile the same.
Any advice ?
Actually how to get rid of the ugly bar on top of the app, it makes the whole thing looks beta
Unresolved reference: selcetedFoodTxt what could i do wrong ?
you guys are super i love you guy…thanks for the help
Awesome video..I had never used android studio and never touched kotlin before, but after seeing this tutorial, I am confident that I can make apps. Please make more videos, you have a skill for teaching in very easy way.
People who think they didn't learn anything from this video.Maybe it was your fault.
(Edit – I finished my first app…Thanks!!)
very good, thank you. for constraint, there is absolute sized and pourcent/relative size one position… some of them serial linked. but, anyway, it seems to be clear when we see the constraint representation.
a question what is val ??
Thanks alot
Why are all these tutorials by apple users? 🙄
Very good tutorial for android beginners. Thanks a lot for explaining things in such a simple and systematic way.
I think this is one of the best Kotlin tutorials for beginners. I have learned a lot!!! I love the explanation of him!!!
Hi ! thank you for this tuto. For those who have error on Line 18
val random = Random()
you just have to remove the parenthesis.
val random = Random
Coming from web to mobile, Best tutorial I've seen so far, Thank you.
Wonderful lesson, just what i was searching for to start. The only thing didn't like was explaining how it was in java, i don't think any of us need it, just more info to remember. This was wonderful lesson, the first one that explained how to use Android Studio with kotlin. Thank you.
Really nice tutorial it seems so much easier than regular Java
Great Tutorial!
Thank you Devslopes
great tutorial for beginners!
I have been struggling to find a tutorial that delivers the very basics of android studio since all of the others are expecting more of you. You saved me.
🖤🖤👏
A question: How can I add more attributes at the right side window(AS 3.0)? I'm missing e.g. fontFamily, textSize and more… Thanks
so aren't there more video of this tutorial?? i really enojy his way of teaching
package com.example.test
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import kotlinx.android.synthetic.main.activity_main.*
import java.util.*
class MainActivity : AppCompatActivity() {
val foodlist = arrayListOf("…", "Hamburger", "Pizza", "Steakhouse", "Indian")
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
decideBtn.setOnContextClickListener {
val random = Random()
val randomFood = random.nextInt(foodlist.count())
selectedFoodTxt.text = foodlist.get(randomFood)
}
}
}
I get "Expected a value of type Boolean" , why pls help
First off its a great video for a newbie like me. I have a question. After building the array if I want to remove a item how do I do it. Also if I accidentally pressed add food, its saving a blank item. How to avoid that. Thanks
You've taken 1 + hour for a 15 minute video ?
Your 'Dinner Decider' app should have been called 'Magic ATE Ball'
Nice tutorial, however I would suggest showing users how to set up an emulator and run their code right at the very beginning!!
I think it's a very good tutorial for a complete beginner.
Hlw Everyone
I have 100+ Android studio Source Codes / Aia Files and Apps in very cheap price.
Intrsted WhatsApp me +923426949950
how do we go back if we mess up some code?
how write code in java viewPager.addOnPageChangeListener( object : ViewPager .0nPageChangeListener override fun onPageScrolled(position: Int, positionOffset: Float, positionOffsetPixels: Int) { val progress = (position + positionOffset) / pageCount lottieView.setProgress(progress ) thanks
how to write this code in java.
val layout = itemView as ConstraintLayout val collapsed = ConstraintSet() val expanded = ConstraintSet() collapsed.clone(layout) expanded.clone(layout.context, R.layout item_expanded
TransitionManager.beginDelayedTransition(layout) expanded applyTo(layout)
That was so great and useful! Thank you so much. I really enjoyed you teach Android first and the code that are useful in it!
clicking on add food with no text input will add an empty string to the list?
how do i make the top part (dinner decider text + battery, wifi and signal) and bottom part (the android controls) appear on my layout preview? for me its all just white background
Appreciate your work but you talk too much and do so little you should overcome this.
I never saw something so stupid in my life, he talks about just one line of code.
nugget?