Hey Cal, first of all. Thanks for your code and knowledge, it's been so helpful. I have a question about your code, I noticed that if you put the negative value first, it won't do the operation. For example: -99 + 1 and if you click the equal button, there will be no operation or just -1 and equal button, error too. Could you please give me some advice to fix this? Thanks anyway for your solution
hey, awesome video, but when you used the (" apply plugin: 'kotlin-android-extensions' ") it says it is no longer supported, what should I do to fix this? Thank you very much!!
Nice tutorial, we really appreciate for your time making videos like this, it's really helping people like us who are new to coding... 5:02 how/where did you get that button from because it's not on my keyboard?
I named the file with the same file name and copied the code. I did not write it myself, but there are a lot of errors. Does anyone know the reason? error in workingsTV. There are yet other errors.
@@preetthee Could you share your github code repo link? its not working for me as well. And since I'm new, I'm unable to figure out how to use view bindings
@@CodeWithCal Hey Cal, I know this is old but can you explain how to use view bindings? I tried to google it, but the tutorial I am using is not breaking it down easily. If you know of a good tutorial out there, that would work.
you have to create a variabel like this " name_of_variable = findViewById(R.id.name_of_textview) " (inside onCreate) and than " private lateinit var workingsTV: TextView " (above and outside onCreate)
Replace result.toString With a check to remove decimal place if not necessary, you could use a string formatter or round the float. discuss.kotlinlang.org/t/how-do-you-round-a-number-to-n-decimal-places/8843
@@aanjaliiii Programming can be tricky business. And things don't necessarily always work the first time. But don't be discouraged keep trying and you will get there. Try to understand why the multiplication and division isn't working and then if you are still stuck ask a specific question. General statements like it doesn't work makes it very difficult for me or anyone else to help with the problem. Apologies if thats a little blunt.
Im learning the android right now , but when I added the kotlin android extension, it shows errors that says the extentions not found. anyone can help me?
wowowow slow down man, boom bam bam done, I do know java, but not kotlin and not android studio ui, but it's abit too fast, unless you pause every second :D
Probably a bit complicated for a RUclips comment. I have been thinking if doing a part 2 of this tutorial. If I do I'll be sure to include. It is possible good luck 🍀
You are coding so fast i have you on 0.75 speed and its so frustrating to watch because i cant even keep up hard to even read the colors when you enterd them and dont even explain anything.
you have to create a variabel like this " name_of_variable = findViewById(R.id.name_of_textview) " (inside onCreate) and than " private lateinit var workingsTV: TextView " (above and outside onCreate)
⌫ 5:02 This is the symbol he uses, just copy paste it~
thanks bro you saved me
for those searching for it, the name of the symbol is "erase to the left".
you can get it from vector resource
its name is"backspace"
and treat with butten as imageButton
Thanks bro, you helped me!
kudos to you sir.
Slow it for us small people
Honestly I loved the way you approached it and learned a lot from this video, even though it's not a long one.
Thanks a lot, really kind of you to say :)
You made this tutorial AN ENTIRE 9 MONTHS after it was announced that the Android Kotlin Extensions Gradle plugin was no longer going to be supported?
i use 0.25 speed ,, becouse that very fast,, like magic tric 😁
🪄
My takeaway from this video was using of styles. Thanks 🙏
kotlin-android-extensions is depreciated. Can you make an update video with how to change this finished project so that it's compatible?
Exactly bcz of translation it get hide...
awesome explanation and development thank you Cal
What do I do?
Plugin with id 'kotlin-androids-extensions' not found.
Hey Cal, first of all. Thanks for your code and knowledge, it's been so helpful. I have a question about your code, I noticed that if you put the negative value first, it won't do the operation. For example: -99 + 1 and if you click the equal button, there will be no operation or just -1 and equal button, error too. Could you please give me some advice to fix this? Thanks anyway for your solution
My buttons are not calling the the style variables. They are just remaining default
Thanks for the tutorial it helped me
Thank you! Was very helpful!
great video Cal...
Love you bro
Can I know how to add the modulo operations in the existing code given by you
sir i cant able to access workingsTV directly in main activity what is the solution sir?
same
Play this at .75x speed. Your welcome
😂
Thanks for teaching this. New subscriber
Thank Cal, this video help so much !
Thaaank you You're a lifesaver..!
Buen video!! buenisimo!! saludos desde Argentina. Nuevo Sub :)
I did the view binding but still not working. I almost give up
Hey Cal, if we can't use this anymore apply plugin: 'kotlin-android-extentions'
then what should I do for the program to run?
The way google would like us to do it now is with view binding :)
hey, awesome video, but when you used the (" apply plugin: 'kotlin-android-extensions' ") it says it is no longer supported, what should I do to fix this? Thank you very much!!
U can use view binding
Nice tutorial, we really appreciate for your time making videos like this, it's really helping people like us who are new to coding...
5:02 how/where did you get that button from because it's not on my keyboard?
i also have same doubt.
How you are able to enter that button
@@rishabnegi2334 Found the solution... Its a code that you'll enter in the space given there
I just copied the character from the internet ;)
I named the file with the same file name and copied the code. I did not write it myself, but there are a lot of errors. Does anyone know the reason? error in workingsTV. There are yet other errors.
The kotlin extensions plugins not working.
it's saying that "the 'kotlin-android-extensions' gradle plugin is deprecated"
Ah yes, I built this tutorial using synthetics, when the new way is view bindings.
Have you used view bindings before?
Thanks. I got it now.
@@preetthee Could you share your github code repo link? its not working for me as well. And since I'm new, I'm unable to figure out how to use view bindings
@@CodeWithCal Hey Cal, I know this is old but can you explain how to use view bindings? I tried to google it, but the tutorial I am using is not breaking it down easily. If you know of a good tutorial out there, that would work.
I love you!.. Great work!.. Thank you!
after pressing backspace button its not working properly
workingTv is nnot funtional in my program
you have to create a variabel like this
" name_of_variable = findViewById(R.id.name_of_textview) " (inside onCreate)
and than
" private lateinit var workingsTV: TextView " (above and outside onCreate)
Thank you brother
good work!
7:05 small bug, forgot to tab canAddOperator=true, because otherwise there can be a problem with . and /
Thanks a lot my dude
if ( timesDivision.isEmpty() ) return""
can anyone please explain why this line is written ??
If the list returned by the timeDivide function is empty, we want the function that called it to return an empty string to the result.
Great video keep it going , new subscribe right here :D
Thanks 😊
1:46 what did you do after saying 20dp? It’s like a star symbol and then it gets copied below
I got it lol. It’s not a star symbol
🥳
hi how i can change my out put from
160000.0
to
16,000
Replace result.toString
With a check to remove decimal place if not necessary, you could use a string formatter or round the float.
discuss.kotlinlang.org/t/how-do-you-round-a-number-to-n-decimal-places/8843
@@CodeWithCal thank you so much
how to code for +/- sign can you please give any code for it I tried it but my functionality didn't work
I don't have any code as of right now. But definitely possible good luck
Great work!
It was very useful
Gracias este video es asombroso
hi it was awesome
my division and multiply is not working
🤔 entirely possible I've overlooked something. What have you found?
@@CodeWithCal I am new to this, I just followed your code but my divide and multiplication button is not working
@@aanjaliiii Programming can be tricky business. And things don't necessarily always work the first time. But don't be discouraged keep trying and you will get there.
Try to understand why the multiplication and division isn't working and then if you are still stuck ask a specific question.
General statements like it doesn't work makes it very difficult for me or anyone else to help with the problem.
Apologies if thats a little blunt.
@@CodeWithCal it's ok.. I get your point
Man that was tooooooooooooooooooooooooo fast 😳
Im learning the android right now , but when I added the kotlin android extension, it shows errors that says the extentions not found. anyone can help me?
View Bindings are the way to go now
developer.android.com/topic/libraries/view-binding
@@CodeWithCal thanks a lot .
i got a fail to compile values file error
what should ı do?
Hmm what does Google say with that error 🤔
whenever i press on any operator my app automatically ends .?.?.?
What does it say in your console. Googling the exception is usually a good first step
@@CodeWithCal it’s throwing a null exception
Nice. So trace back why it's null. Or make it null safe?
wowowow slow down man, boom bam bam done, I do know java, but not kotlin and not android studio ui, but it's abit too fast, unless you pause every second :D
why you use light theme
I use both sometimes, doesn't really bother me either way
mine remained orange throught all the buttons
Should just be a change in the XML somewhere to change some buttons to be white
it have some bugs, but its nice
Bro I make caculeter o m g thanks you
How can I add the parentheses?
Probably a bit complicated for a RUclips comment. I have been thinking if doing a part 2 of this tutorial. If I do I'll be sure to include.
It is possible good luck 🍀
Thanks I'm looking forward to it.
Explain things in much more details. I think it is not for absolute beginners.
😋
pls add modulo
Bro were not coding with cal you are coding we are copying. i dont like ur super fast phase video's
You are coding so fast i have you on 0.75 speed and its so frustrating to watch because i cant even keep up hard to even read the colors when you enterd them and dont even explain anything.
Nice video but it was fast
すごい
ありがとうございます
Way too fast
Please give me , sorscod calculator
Link in description ☝️
A tutorial is meant to teach but you are just there doing your thing for us to watch, no teaching at all in this video. And the speed is just 😢
4:30
very fast ((((
Troppo veloce
jesus christ slow down
pausing and playing your video is kinda defeating the purpose.
why dont you make a write up?
idk if you'll see this now but can i get help on kt. page. for some reason workingsTV and resultsTV are in red?
you have to create a variabel like this
" name_of_variable = findViewById(R.id.name_of_textview) " (inside onCreate)
and than
" private lateinit var workingsTV: TextView " (above and outside onCreate)
@@vascocastel-branco3370 THANK YOU!! this is the answer