Build A Simple Android App With Kotlin

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024

ความคิดเห็น • 722

  • @rajasmahadule2697
    @rajasmahadule2697 3 ปีที่แล้ว +207

    You lost me when you started making TodoAdapter Class, it's so wierdly complex.

    • @henrypowell3496
      @henrypowell3496 3 ปีที่แล้ว +1

      yah it sure is

    • @seahindeniz
      @seahindeniz 3 ปีที่แล้ว +16

      Same. I wish he would rather go by explaining and mostly showing them even what happens when things don't add. I mean the Adapter class or etc, that he used in his code. So that, it at least makes sense why things needed to be written.

    • @crackedrebelion1094
      @crackedrebelion1094 3 ปีที่แล้ว +1

      Same here so damn hard

    • @user-ov5nd1fb7s
      @user-ov5nd1fb7s 3 ปีที่แล้ว +18

      Its not complex, its dumb. Design patterns should not be used for every possible piece of code.
      Mainly the java people are to blame for bringing this garbage onto the world.
      Most people are fed up with it and this is why languages like Go and Rust are on the rise.

    • @soffi2719
      @soffi2719 3 ปีที่แล้ว +2

      Me too

  • @tapiohonkanen6384
    @tapiohonkanen6384 3 ปีที่แล้ว +317

    In my opinion it would be more educational, if you showed how the app works part by part in the emulator instead of coding everything at once and showing the end result just at the end. Otherwise, very good tutorial!

  • @htaehxela
    @htaehxela 3 ปีที่แล้ว +301

    A couple of things that helped me understand this video a bit better:
    1) doing the fella's crash course and building a couple of command line apps
    2) don't copy exactly what he is doing. Make an app with a similar concept (e.g. an app a waiter would use to note down food / drink orders) change the variable names and the names of the files, this way you have to figure out what is going on. The more different you can make it while keeping the same basic elements, the more it will make sense to you after building it

    • @RockstahRolln
      @RockstahRolln 11 หลายเดือนก่อน +2

      You nailed it! Precisely how to go about it to really understand all the logic involved in creating the App!

    • @elghs2001
      @elghs2001 6 หลายเดือนก่อน

      This has always given me the best results. nothing like typing all of this out but not *really* knowing why. By taking your suggestion, you can begin to connect the *why* dots on all of these concepts.

  • @sylvainfinette82
    @sylvainfinette82 3 ปีที่แล้ว +89

    Great video! at the minute 47:12, my editor does not detect the tvTodoTitle nore cbDone objects defined in the item_todo.xml, because of this I cannot complete the apply function. Any idea about what I missed? (I am an absolute beginner)

    • @arushk
      @arushk 3 ปีที่แล้ว

      same

    • @nomr6788
      @nomr6788 3 ปีที่แล้ว

      same here

    • @Paco1337
      @Paco1337 3 ปีที่แล้ว +86

      You need id 'kotlin-android-extensions' in build.grandle app

    • @alvinkk2338
      @alvinkk2338 3 ปีที่แล้ว

      @@Paco1337 then?

    • @alvinkk2338
      @alvinkk2338 3 ปีที่แล้ว

      @@Paco1337 even my position is red

  • @ArifBillahOnGoogle
    @ArifBillahOnGoogle ปีที่แล้ว +188

    I don't know why, but I feel like android development is extremely complex unnecessarily compared to web development. You have to write so much code to print so little.

    • @oneilobi822
      @oneilobi822 ปีที่แล้ว +10

      very true and it is very hard to manipulate stuff that match your thinking

    • @IgorogI1000
      @IgorogI1000 ปีที่แล้ว +13

      You are completely correct.
      I had the same feeling. Android is unnecessarily complex, with too much OOP, hexagonal architecture, and so on just to do a simple screen...

    • @theman7050
      @theman7050 ปีที่แล้ว +2

      Ikr, brother?😢

    • @eduar2tc904
      @eduar2tc904 ปีที่แล้ว +18

      That is why it is better paid and less saturated

    • @ishc1753
      @ishc1753 ปีที่แล้ว

      Why did I get unexpected token error when adding the implementation under dependencies

  • @pierce9019
    @pierce9019 11 หลายเดือนก่อน +32

    You dont really explain what a lot of the functions do after the half point of the video. Theres also a major issue at 47:40 where you cant continue to follow along because it wont let you link tvTodo and the other var

    • @tehyanyang6959
      @tehyanyang6959 5 หลายเดือนก่อน +1

      same issue for me too, couldnt bypas that issue and I tried to add a reference in the todoviewholder class but still could not resolve the matter

    • @jahnvikakkar2267
      @jahnvikakkar2267 5 หลายเดือนก่อน

      samee
      did you find a fix for it by any chance?

    • @sundernewar2002
      @sundernewar2002 2 หลายเดือนก่อน

      im also stuck here

    • @langer_mo9790
      @langer_mo9790 หลายเดือนก่อน +1

      yep, I am here

  • @amishasherekar1908
    @amishasherekar1908 3 ปีที่แล้ว +18

    47:56 I am not getting import option

    • @davidoregan_
      @davidoregan_ 6 หลายเดือนก่อน

      Same, did you ever figure it out?

  • @BehruzbekOtayev
    @BehruzbekOtayev 3 ปีที่แล้ว +9

    omg, let me be honest. Classes seem to overcomplicate things that shouldn't be. I have been doing functional programming, my mind switched off after 40:00, Why do you need a separate class for every goddamn thing? It just complicates things. How do you learn what class inherits from what class? It is just a simple todo list for God's sake... I am just typing along without understanding shit. I worked with classes, but isn't this a bit overkill?

    • @sohamhegde2386
      @sohamhegde2386 3 ปีที่แล้ว +1

      I agree! I mean he should have atleast run the emulator and shown how each classes and functions work. Am confused now. Do u have any suggestions ?

  • @calvinkaranja1306
    @calvinkaranja1306 2 ปีที่แล้ว +4

    At minute 48.29, I'm trying to import the tvTodoTitle but my IDE won't promt the import and insists I create a variable... what could be the problem?

    • @Dinesh_Great
      @Dinesh_Great 2 ปีที่แล้ว

      Did you got the answer, as I am still facing the issue.

    • @calvinkaranja1306
      @calvinkaranja1306 2 ปีที่แล้ว

      @@Dinesh_Great yes, you need to go to your "build.gradle module: app" file where you will find a plugins block on top.
      In this plugins block, you simply paste this line and click on sync now:
      id 'kotlin-android-extensions'

    • @watermelonkirbs3681
      @watermelonkirbs3681 4 หลายเดือนก่อน

      @@calvinkaranja1306 ❤

  • @GGShinobi77
    @GGShinobi77 3 ปีที่แล้ว +69

    "of course we will use the Dark Theme here" -> me hitting thumbs up!

    • @shrikantdhayje3490
      @shrikantdhayje3490 3 ปีที่แล้ว +2

      Same I Also Like The Video At Same Time 👍

    • @GabrielTobing
      @GabrielTobing 3 ปีที่แล้ว +1

      The fact that it even wants us to use the light theme by default is just horrendous XD

    • @abdellatif.x8127
      @abdellatif.x8127 3 ปีที่แล้ว +2

      Lol all Android studio courses used light theme except this one 😂😂

  • @Terik17
    @Terik17 2 หลายเดือนก่อน +2

    had to give up near the end because apparently we have slightly different versions of the IDE and I couldn't solve a step... i wouldve liked a bit more explanation of each step tbh so i understood what was being done and what other options there were

  • @gibranfirdausy3458
    @gibranfirdausy3458 2 ปีที่แล้ว +8

    i cant find import at 47.58

  • @Gigatless
    @Gigatless ปีที่แล้ว +4

    Bruh I swear this guy hides a robotic ratatouille in his hair who does all the teaching

  • @stefumies
    @stefumies 4 หลายเดือนก่อน +2

    Java is certainly NOY dying out, its just been taken over by Kotlin in the Android ecosphere

    • @ceciljoel9577
      @ceciljoel9577 2 หลายเดือนก่อน

      Java spring is one of the most in demand technology too

  • @danieldelapena6363
    @danieldelapena6363 2 ปีที่แล้ว +2

    Next time I recommend you actually explain what you are doing.

  • @StockGoUp
    @StockGoUp ปีที่แล้ว +1

    Is anyone down to make an app with me. I'm seriously asking 😗

  • @christophermoore3589
    @christophermoore3589 ปีที่แล้ว +3

    My version of Android Studio produces a different default app with no LAYOUT folder/files and uses COMPOSABLE functions. So I'm totally baffled at the moment...

  • @FlooferLand
    @FlooferLand 3 ปีที่แล้ว +57

    Thank you for actually teaching stuff
    Most beginner tutorials out there just go all in expecting people to know how Android Studio's styling works even when they're aimed at beginners and i've watched half of the video so far and i'm understanding everything
    EDIT: Nevermind, i lost all track of anything once he got over the styling and i already know other programming languages well

    • @liamwade1003
      @liamwade1003 3 ปีที่แล้ว +8

      hahahaha...... me too :(

    • @oduorotisjnr.e5723
      @oduorotisjnr.e5723 3 ปีที่แล้ว +10

      😂😂 me too ... Damn I started the video off and I was like finally... Then baaam! He just ruined it

    • @oduorotisjnr.e5723
      @oduorotisjnr.e5723 3 ปีที่แล้ว +3

      Did you ever find any good tutorial for beginners?

    • @FlooferLand
      @FlooferLand 3 ปีที่แล้ว

      @@oduorotisjnr.e5723 I didn't unfortunately, gave up on making Android apps.

    • @oduorotisjnr.e5723
      @oduorotisjnr.e5723 3 ปีที่แล้ว +4

      @@FlooferLand Ah bummer. I decided to do it the old fashioned way and got a book, read it and now I know alot that most tutorials don't teach. They'll claim to give you tutorials and by the end you'll be a dev.I Its a lie. There are plenty of things you need to learn.
      Anyway, i hope to see you back again in the dev world.

  • @RAINE____
    @RAINE____ 3 ปีที่แล้ว +21

    You've made an excellent video. It's a shame the same can't be said for Android's development platform. This is so complex for what could be done in a few lines of HTML. But again, thanks for the video. You couldn't have done a better job.

    • @lordvakx1226
      @lordvakx1226 2 ปีที่แล้ว +12

      Honestly nothing compares to the flexibility HTML and CSS.

    • @facundosierra1501
      @facundosierra1501 2 ปีที่แล้ว +1

      Wtf

    • @overratedprogrammer
      @overratedprogrammer 2 ปีที่แล้ว +4

      Mobile app development desperately needs an overhaul. You shouldn't have to deal with a whole ecosystem to run a simple script

    • @electrocarbid
      @electrocarbid 2 ปีที่แล้ว +11

      Wow! Great Video. But the android programming needs horrible actions with lots of referencing, etc.
      Looks like building a nuclear recator to boil a cup of tea to me :)

    • @SuperLittleTyke
      @SuperLittleTyke ปีที่แล้ว +1

      @@electrocarbid That's kinda what I thought after watching the first 20 minutes. Maybe I'll watch the rest later. Or find a different tutorial. Visual Basic: 1. Run VB. 2. Double click command button in the toolbox to place a new button on the blank form. 3. Double click the button to view the code window. 4. Type MsgBox "Hello world". 5. Press F5 to run the program. 6. Click No (you can save it later) 7. Click the button. Done.

  • @yannickmussche5068
    @yannickmussche5068 8 หลายเดือนก่อน +2

    literally 8:56, suddenly you have the main.kt as an xml file. where does it come from?

    • @yannickmussche5068
      @yannickmussche5068 8 หลายเดือนก่อน

      res/layout/ does not exist.

    • @sapy4124
      @sapy4124 8 หลายเดือนก่อน +3

      @@yannickmussche5068 when creating project, create it using Empty Views Activity.... the Projects through Empty Activity are to be done with Jetpack Compose i guessssss

    • @NoahCalar
      @NoahCalar 7 หลายเดือนก่อน +1

      Thank you@@sapy4124 ! I was spinning my wheels like crazy trying to figure this out. Your response needs to be a pinned comment so people with the latest version of AS can figure this out.

    • @abhishekpanigrahi5944
      @abhishekpanigrahi5944 2 หลายเดือนก่อน

      @@yannickmussche5068 : maybe you found the solution already, but here goes anyway - you need to select 'Empty Views Activity' when creating a new project. Then you get the 'Activity_main.xml' tab from the start, and also the layout folder under res

  • @marcostavares6236
    @marcostavares6236 ปีที่แล้ว +5

    at 41:00 when i press ok after Ctrl + I it doesn't import the implement members; what am I doing wrong??

  •  3 ปีที่แล้ว +9

    If I may… Thanks for the course, you really put a lot of work in this. But (sorry for that part) if I learned something in almost 40 years of coding it is that a beginner tutorial should always be done by a (almost) beginner! You clearly know what you are talking about but you lost almost everyone trying to explain too many different concepts while rushing some others.
    Android Studio is not a tool that can be mastered through a single course, especially if you don’t know Java, one of the hardest coding language still around (not JavaScript which is a breeze in comparison). An AS beginner course should probably be more focused on the interface, some basic code and a lot of visual stuff to set your interface up as well as a simple way to test your very basic app on a device, because that is the reward beginners are looking for.
    Anyway, as I said nice effort.

  • @user-ov5nd1fb7s
    @user-ov5nd1fb7s 3 ปีที่แล้ว +6

    Recycler view is an unfortunate name. I would call this infinity grid.

  • @BHFJohnny
    @BHFJohnny 3 ปีที่แล้ว +2

    This is too hardcore for me now. Need to find something easier. For example the override functions for Recycle view and their arguments, I don't have a clue about what, why, where, how. Completely lost on this part.

  • @wipros3567
    @wipros3567 3 ปีที่แล้ว +9

    So, in short. You've made to-do list. In 1 hour. With all that code. All respect to you, but I think I'll be fine with online app makers for now

  • @valentindoring5105
    @valentindoring5105 2 ปีที่แล้ว +2

    I cant import tvTodoTitle as the id of the xml object (47:50). It only gives me the option to create a new variable

    • @valentindoring5105
      @valentindoring5105 2 ปีที่แล้ว +2

      the pinned comment solved it... in the build.gradle file adding "id 'kotlin-android-extensions'" to the plugins and sync

    • @xphis0528
      @xphis0528 ปีที่แล้ว

      @@valentindoring5105 what pinned comment? there is none now. mediocre tutorial

    • @ZeroTubeTV
      @ZeroTubeTV ปีที่แล้ว

      @@valentindoring5105 thank you!

  • @mosabtaibaoui8478
    @mosabtaibaoui8478 3 ปีที่แล้ว +2

    in 48:00 that wasnt a choice import i clicked alt+enter but import wasnt existe

  • @joshuachesney7552
    @joshuachesney7552 6 หลายเดือนก่อน +5

    If you're just getting into android dev and this video confused you like it did me, its because this is not the default way to make UIs in android anymore. The thing now apparently is to use jetpack compose to create your UI entirely through kotlin instead of using XML.

    • @housaindiallo2140
      @housaindiallo2140 6 หลายเดือนก่อน +1

      Have you found a video that explain how it works now?

    • @joshuachesney7552
      @joshuachesney7552 6 หลายเดือนก่อน

      @@housaindiallo2140 Yeah this one worked for me th-cam.com/video/6_wK_Ud8--0/w-d-xo.html

  • @dirtspade
    @dirtspade ปีที่แล้ว +1

    this tutorial doesn't sufficiently explain most of the important things in code section

  • @JiosX
    @JiosX 2 ปีที่แล้ว +1

    Jesus. Why is everything so complicated in Android Studio? Couldn't they just do it the less-cluttered style? All that xml data are almost the same. They should be automatic and the design, ugh. Very ugly implementation.

  • @belajarapasaja2356
    @belajarapasaja2356 3 ปีที่แล้ว +2

    what if i want to add a Toast, so that everytime user click the add or delete button a text will show up.
    is that possible and if it is, how? sorry if my english suck.

  • @FransixWeb
    @FransixWeb 3 ปีที่แล้ว +14

    Always reading minds, how do you do it 😩♥️

  • @Human_Evolution-
    @Human_Evolution- ปีที่แล้ว +2

    Your hair blocks the entire screen.

  • @dojafoja
    @dojafoja 3 ปีที่แล้ว +28

    Thank you for your videos. I've been struggling to find good kotlin tutorials, until I found this channel. You're very clear, to the point, and I understand it when you explain it. I come from a long, strictly Python background and the transition isn't easy.

    • @Tobi9012
      @Tobi9012 3 ปีที่แล้ว +1

      I can confirm that! I also have a Python background. Good tutorial

    • @dojafoja
      @dojafoja 3 ปีที่แล้ว +1

      @@Tobi9012 Excellent tutorial! I was leaning back and forth between Dart and Kotlin and casually learning both, simultaneously. Dart just "clicked" right away but I kept struggling with Kotlin's syntax. This guys knows how to explain it.

  • @jampierreterronesespino909
    @jampierreterronesespino909 ปีที่แล้ว +1

    Agregar : id 'kotlin-android-extensions' para lo del minuto 47:52 y permita importar

  • @neilrehani.1409
    @neilrehani.1409 3 ปีที่แล้ว +2

    Throwing errors whereas I checked all code & everything is same as you...Also not explained accurately

  • @juakored
    @juakored 3 ปีที่แล้ว +1

    ok, first i hit a wall with the tvTodoTitle error, then fixed it, then i immediatly hit another wall with an error with "paintFlags" and the "STRIKE_THRU_TEXT_FLAG". Usually for what i've seen on any other lesson for any other program if you copy a line of code there won't be any problems with it, but for some Ungodly reason Android Studio never works the same way from tutorial to tutorial.
    Man, Android development sure looks inaccessible with development tools this fucking unstable/unreliable xD

  • @andrij1922
    @andrij1922 2 ปีที่แล้ว +2

    Just can't imaging how back in times ppl developed Android apps in Java. Must be cried a lot.
    Android is not Java-based, it's Linux-based that supports JDK to write Android app.
    Kotlin does not belong to Google, it's being developed by JetBrains company, the one which created IntelliJ, ReSharper, Android Studio and other cool products.
    Kotlin is not based on Java, it's JVM compatible, that allows it to be used for Android apps too along with Java.
    Cobol is still alive, Fortran is still alive. I bet Java will be 'dying' next 50 years.

  • @lautarod51
    @lautarod51 2 ปีที่แล้ว +1

    The first half of the video is a 10/10 super well expalined. However te second part is a ???/10, i have no idea what going on

  • @lardosian
    @lardosian 3 ปีที่แล้ว +18

    I once tried to use android studio and the amount of errors popping up scared me away for years, is it any better these days?!

    • @ash143aish
      @ash143aish 3 ปีที่แล้ว +2

      I don't know when you have used it last .....but I feel it is one of the best in terms of user experience ides out there ..

    • @samcodes2912
      @samcodes2912 3 ปีที่แล้ว

      try it out again. much better

    • @amans6504
      @amans6504 3 ปีที่แล้ว +1

      let the bad boy suck 100% of you network, ram, cpu usage then it'll work smoothly

    • @izzy5532
      @izzy5532 3 ปีที่แล้ว

      Nope for amd

  • @GRZlllBadman
    @GRZlllBadman 2 ปีที่แล้ว +1

    Hi i cannot import tvtodotitle from the XML file to my todo adaptor list in on bindViewHolder can anyone help me with that pls, thank you

  • @katepiskunova5727
    @katepiskunova5727 2 ปีที่แล้ว +1

    Does anyone has a problem that Android Studio not let you import tvTodoTitle? Maybe someone can help me in this situation. I've tried to write it by hands, but it didn't work.

    • @bombzerk
      @bombzerk 2 ปีที่แล้ว +2

      Just found out after debugging for 1 hour: the solution is described in the pinned comment. You need to add "id 'kotlin-android-extensions'" in your Gradle file

  • @benbrown1535
    @benbrown1535 ปีที่แล้ว +2

    I ran into trouble with this because the synthetic view binding is deprecated shown in this video... @Phillipp Lackner if you could update a new one with this or Jetpack it would be much appreciated! FWIW, I got this to work with viewbinding :)

  • @elai_harmony
    @elai_harmony 2 ปีที่แล้ว +1

    Next time you make a video can you please say 5 times less words?
    Be short. Just say this: "Step 1. Create a view.". "Step 2. Set constraints". Don't give an endless stream of words

  • @michaelchristensen8350
    @michaelchristensen8350 3 ปีที่แล้ว +8

    Hello thanks for this great tutorial :-)
    I was thinking what about making a part two, where we make it so the app can save data even after we close and reopen it ?

  • @AfeezBello-x1v
    @AfeezBello-x1v ปีที่แล้ว +1

    Because web development deals with a bunch of abstractions so you dont actually deal with many Computer Science concepts. Android development falls into the category of native development, which is far more complex than web development. Without native development, the components and tools that web development leverages wouldn't exist. In short, web development is very straightforward because most of the complexity has been handled by native developers

  • @Doodle_Animates0
    @Doodle_Animates0 2 หลายเดือนก่อน +1

    I’ve used and developed for both Android and iOS, and as a result, I’m not really biased. They are both good in their own ways. However, i will admit, because iOS has a proprietary language (Swift, SwiftUI or Objective-C and UIKit) it is SO much easier to develop an app, java and kotlin is very complex to me. Swift has a relatively straightforward syntax.

  • @omidmansoori6434
    @omidmansoori6434 3 ปีที่แล้ว +1

    Hello,
    I have issue tvToDoTitle and cbDone class. I am using MAC. any solution? I am not able to import tvToDoTitle and cbDone class

  • @JourneySuccessvids
    @JourneySuccessvids 3 ปีที่แล้ว +2

    Doesnt let me import the btnDeleteDone todos at 1:02:31

  • @junespinosa9823
    @junespinosa9823 ปีที่แล้ว +2

    hey devs, having problem 47:40? add this to your build.gradle(:app) id 'kotlin-android-extensions'
    I dont know why youtube always remove may detailed instruction on this :(
    plugins {
    id 'com.android.application'
    id 'kotlin-android'
    id 'kotlin-android-extensions'

    • @bartoszkrol8247
      @bartoszkrol8247 ปีที่แล้ว

      thanks

    • @polyfx8986
      @polyfx8986 ปีที่แล้ว +1

      Hi, this didn't work for me, still having issues with it finding the tvTodoTitle TextView. Any other suggestions? I think a few people are having the same issue.

  • @microdocs8989
    @microdocs8989 3 ปีที่แล้ว +1

    You lost me.. when u started your todo class.. pick some simpler topic... for example Adding two number from two different text box and showing them in a textview on click of a submit button. Next could be concatenate two textbox and on clicking submit button the output will be displayed in a Textview.. This is way too complex for beginners. Will keep a watch on your channel for beginners video.

  • @jimbb1832
    @jimbb1832 ปีที่แล้ว +2

    nice hair bro

  • @jdawg051587
    @jdawg051587 2 ปีที่แล้ว +1

    Android Extensions is deprecated. How do I import item_todo.xml for onBindViewHolder?

  • @Why_This_Fury
    @Why_This_Fury 3 ปีที่แล้ว +1

    I can't import a tvTodoTitle ... why any ideas?

  • @chvrleshd
    @chvrleshd 3 ปีที่แล้ว +3

    I wish they will eventually do all the heavy lifting with adding all these extra stuff in the layout building so we can just focus on code. Thats too much information to absorb just to build layout

    • @JiosX
      @JiosX 2 ปีที่แล้ว

      exactly. Very cluttered and it's built like we're still in the middle ages.

  • @maryannadelman4438
    @maryannadelman4438 2 ปีที่แล้ว +6

    Philipp, do you plan to make a video showing how to connect this todo list with a database so that items that are added to the list are retained when the app is closed and reopened?

  • @gummimauer
    @gummimauer ปีที่แล้ว +1

    apply plugin: 'kotlin-android-extensions' in the build.gradle is depricated. So the elements from the activity are unknown. Could you show how to fix it? I tried the reference from google but it didn't work.
    Writing the parameters under each other is very bad to read. You can't tell if it's the passing parameters or the code in the function.

    • @polyfx8986
      @polyfx8986 ปีที่แล้ว

      I'm not getting the message that it's deprecated but it doesn't work for me either, please let me know if find a solution cheers.

    • @polyfx8986
      @polyfx8986 ปีที่แล้ว

      Found the solution further down in the comments, make sure the sync the project by either right clicking "kotlin-android-extensions", then Actions (first option) and it should have sync as an option. Alternatively you should be able to sync it in the blue bar just below the tabs.

  • @wanderlustislamabad8082
    @wanderlustislamabad8082 3 ปีที่แล้ว +2

    Its like java script on the outside and python inside of the curly brackets fml :)

  • @rangarajann1781
    @rangarajann1781 3 ปีที่แล้ว +8

    Any web developers just watching this video?

  • @apmelqui1
    @apmelqui1 ปีที่แล้ว +1

    Quick question:
    On 47:40 how can I import tvTodoTitle and dbDone? Mine is to importing it.
    Thanks

  • @richenjoshi7054
    @richenjoshi7054 2 ปีที่แล้ว +1

    I understood nothing from programming part, what is going with all those class inheritance, class type, etc

  • @LILBETATRUTH
    @LILBETATRUTH 6 หลายเดือนก่อน +1

    Ok thank you for helping but it was hard understanding what you were trying to say. I still went through the whole video but if you could explain more of the parts in depth, that would help my understanding by a mile. Thank you for the video!

  • @zakariaemimouni6344
    @zakariaemimouni6344 3 ปีที่แล้ว +2

    Philipp the way your explaining the cours is so fast and hard for beginners as me to fallow with you but good look I'm going to check your channel for more videos thanks

  • @otooleger
    @otooleger ปีที่แล้ว +1

    Thanks very helpful . Just one criticism. The dark background makes it almost impossible to read the code from the screen.

  • @pravzop
    @pravzop 2 ปีที่แล้ว +1

    47:57 I didn't get any 'Import' option after clicking Alt+Enter. What could be the reason?

    • @MyPing0
      @MyPing0 2 ปีที่แล้ว

      did you figure it out? I'm having this problem too

  • @loloud
    @loloud ปีที่แล้ว +1

    I'm not familiar with kotlin but seems too confusing to have a nested class and even to have a parent class type of its nested class.

  • @MonkeyDLuffy-i9e
    @MonkeyDLuffy-i9e ปีที่แล้ว +1

    When i am trying to access the variables of item_todo.xml in adapter class its showing error? Can anyone please help?

  • @PankajKumar-fq9zi
    @PankajKumar-fq9zi 3 ปีที่แล้ว +1

    48:19 showing errors in text and ischecked why?

  • @yabadabadont8219
    @yabadabadont8219 9 หลายเดือนก่อน +1

    The binding method here is deprecated.

  • @MalliklarjunaGM
    @MalliklarjunaGM 3 ปีที่แล้ว +2

    Hi Sir, Thank you for the video, after going through the video i have some problem in "onBindViewHolder" i am couldn't able to get the details of tvToDoTitle, cbDone details from item_todo.xml, please let me know do i need to import any specific lib, currently i am following as shown in video.

    • @0n3more6am3r
      @0n3more6am3r 3 ปีที่แล้ว +1

      Hey I also had a lot of trouble with this and after quite a while of troubleshooting I found something that works, I could however not get the strike through to work properly...
      But here's what worked for me after setting "buildFeatures { viewBinding = true }" in android {} and adding "id 'kotlin-parcelize'" to plugins {} in build.gradle Module:
      first do this outside onBindViewHolder:
      private lateinit var binding: ItemTodoBinding
      Then inside onBindViewHolder do:
      binding = ItemTodoBinding.bind(holder.itemView)
      And then when calling the tvTodoTitle add "binding." infront of cbDone and tvTodoTitle

    • @JustAbdouIt
      @JustAbdouIt 3 ปีที่แล้ว +1

      Have you found a solution for the error? I got the same thing smh

    • @MyPing0
      @MyPing0 2 ปีที่แล้ว +1

      @@JustAbdouIt any solution to this?

  • @achirasilva2567
    @achirasilva2567 ปีที่แล้ว +2

    Bro has brains all over that hair. Great tutorial btw 🔥

  • @khurramshahzad-in3lj
    @khurramshahzad-in3lj 2 ปีที่แล้ว +1

    at 46:54 apply function is not loading in view class??

  • @aliricmotivation
    @aliricmotivation 4 หลายเดือนก่อน +1

    i am having trouble importing the tvTodoTitle in the curTodo can anyone helpe me? its on 47:40

  • @shock1136
    @shock1136 2 ปีที่แล้ว +1

    I just want to know if you are storing your todos in a database or not?? Or how does the storing work, I'm quite confused...

  • @JumaleAbdi-tu3zh
    @JumaleAbdi-tu3zh 5 หลายเดือนก่อน

    Why is Android development overly complicated and over-engineered?
    Why can't it be easier like web development or backend development?
    Unnecessarily weirdly named classes and functions make even simple tasks feel like coding for a missile navigation system.
    I'd rather write a full-stack web app from scratch in C (a custom frontend UI library written in C, database, and RESTful API) than writting Android development.

  • @llake
    @llake ปีที่แล้ว +1

    47:40 Isn't working in 2023

    • @shravanacharya5987
      @shravanacharya5987 8 หลายเดือนก่อน

      Oh thankfully it's not only for me. Any solution for this/

  • @th3stup1dity
    @th3stup1dity 2 หลายเดือนก่อน

    Java has taken a big leap since this video. Look at Java 21 and 22. Many new features to Java. I'm looking forward to Kotlin supporting these new features, they only support some features in JDK21 as of Kotlin2.0.0

  • @MorDreadful
    @MorDreadful 3 ปีที่แล้ว +11

    A word of advice for anyone trying to teach coding of ANY language. It's fair enough to do a video and try to explain the code. You should ALWAYS COMMENT your code regardless as when you go back to look at it, especially when learning the language or coding for the first time, having comments that will identify what the code is doing is a huge help. This is industry standards and should be used. There are several reasons, one is to remind you of the code (please do not think you will remember every line of code, where it points to in all the programs you work on, as you may well NOT work on EVERY part of a program), secondly, someone else having a look that is allowed to, to may be help with issues, or, come in fresh because you left for another job, as some examples, will need to be able to see what the code is for and what it is doing.
    You should get into the habit of commenting as you go OR, better still, comment that code before actually coding as this helps you plan your code better.

    • @eddgee9489
      @eddgee9489 ปีที่แล้ว

      true explain the code and illustrte to be more clear but you tried.

    • @MorDreadful
      @MorDreadful ปีที่แล้ว

      Also, don't make paragraphs, use short simple comments. Also, though not for this video but as a golden rule to know, when ever you create an application, database that may run alongside (full stack) or standalone, check if your country has automatic copyright. Designs may need to be registered or may not. This comes under Intellectual Property.
      IF you do not want someone using your code then DO NOT post it publicly. This video is for learning so that's fine, but, for real applications, check your country's copyright laws and if they apply automatically and at the top of each class, like with C# using the /// (comments vary so check) stick in there the copyright and who it belongs to and which country, whether it is automatic, date and that any copying, reuse or whatever is strictly by requesting permission to use the code. Keep the paper trail, this could prove vital if someone steals your code
      DO NOT share what you do not want people using. Boiler plate code? it's boiler plate and doesn't really refer to any program and boiler plate code is freely available. There is International Copyright acceptance and recognition between countries and anyone from another country using your code can be liable to a law suit if proven to be falsely claiming your code. Many countries have automatic copyright such as Barbados and the UK, not all but many do.
      Places like Github can be private or public. Check GPU Licence (general Public and can be used and modified) and EULA (End User Licence Agreement which is NOT public and can not be used and modified).
      Get in the habit as it could save you in lots of ways.

  • @ProfessorVector
    @ProfessorVector 3 ปีที่แล้ว +2

    Thanks Phillip you done a great job, but like always Google is full of PhD's who can't tie their own shoes or anyone elses!!! They need to learn something from Microsoft. Long live Visual Studio and C# and Easy GUI development! Way too complex for something that could be much much easier.

  • @Sniperkag
    @Sniperkag 3 ปีที่แล้ว +1

    My head exploded in the TodoAdapter >_< I'll better go back to basics

  • @footballCartoon91
    @footballCartoon91 2 ปีที่แล้ว

    this is why i dont like java there are so many objects that are interrelated...
    and then what is that weirdness when you access a class's field or (maybe properties) you can access another functionality..
    so many weirdness in this language..
    i suspect when one day nobody needs to code anymore because the compiler already know what to do ..
    we just prepare the xml files and the image file

  • @giridharan9455
    @giridharan9455 3 ปีที่แล้ว +2

    Hi Philipp..
    I tried this code by following each steps and it's a success.
    How can I convert it to an App and how Can I load it to my android phone?
    Thanks for the videos, it's very useful.

    • @danielmcpherson9062
      @danielmcpherson9062 2 ปีที่แล้ว

      You'd just need to export it to an APK

    • @codingboy2254
      @codingboy2254 2 ปีที่แล้ว +1

      or you could use android Debugger/Developer Mode in you android phone
      but it does not port the app

  • @delta12g
    @delta12g 2 ปีที่แล้ว

    Sorry, but this was just and "do stuff" tutorial without me understanding what is happening. I know that apps involving views are not that easy to understand, but this video didn't help me either.

  • @Exiide89
    @Exiide89 3 ปีที่แล้ว +1

    Why does it have to be so complex? Isn't there any simpler way to do this?

  • @pubuduchathurangeekanayake7297
    @pubuduchathurangeekanayake7297 3 ปีที่แล้ว +1

    Flutter Dev be like
    "Look What They Need To Mimic A Fraction Of Our Power"

  • @noodle-eater
    @noodle-eater 3 ปีที่แล้ว +5

    Awesome, simple tutorial yet have the full features of a todo app. can't wait to try it.

  • @imadsyed9537
    @imadsyed9537 3 ปีที่แล้ว +2

    So, I like your effort Philipp. What I didn't like is you skipped over the exception messages, and reiterated the same in your words. I feel this is being a bit dishonest. I would rather teach somebody to drive the car, rather than showing them how I'm driving the car.
    Also, I don't think this an 1 h 11 minute long content.

  • @devery0622
    @devery0622 ปีที่แล้ว +1

    ok, i did exactly how you did but once i write tvTodoTitle (47:18) it just doesn't find it and neither cbDone or the other items in item_todo.xml. don't know what to do i literally don't understand nothing about android development.

    • @junespinosa9823
      @junespinosa9823 ปีที่แล้ว +1

      hey devs, having problem 47:40? add this to your build.gradle(:app) id 'kotlin-android-extensions'
      I dont know why youtube always remove may detailed instruction on this :(
      plugins {
      id 'com.android.application'
      id 'kotlin-android'
      id 'kotlin-android-extensions'

  • @Void-in2pz
    @Void-in2pz หลายเดือนก่อน

    it must be the most popular tutorial on android sdk, cuz gemini fills all the code on Tab like its reading my mind, or see youtube video

  • @dcom9348
    @dcom9348 2 ปีที่แล้ว

    okey, I must spend whole day to program simple list view gadget population function with logicless constructions.

  • @drygordspellweaver8761
    @drygordspellweaver8761 ปีที่แล้ว +4

    Just a tip: take pauses between thoughts and sentences. It’s okay to give the listener time to digest the information, and would help you gather your thoughts for more articulate and meaningful delivery.

  • @Spectra628
    @Spectra628 6 หลายเดือนก่อน

    This is why we should have kept the dislike button, what a waste of time. The tutorial just gives up half way through.

  • @nilsothecookiemonster7419
    @nilsothecookiemonster7419 2 ปีที่แล้ว +1

    Cant you make the app save the list in a local txt file and then read that for the next time you open the app?
    For a saving system?

  • @maryannadelman4438
    @maryannadelman4438 2 ปีที่แล้ว +2

    In regards to my question about a possible future tutorial on how to link this with a database: Would you be able to direct me to a tutorial that would show how to link a database with the code you've written in this app so that list inputs would be retained when app is exited & reopened? It would be much appreciated. Thank you.

  • @ath.bar.7671
    @ath.bar.7671 3 ปีที่แล้ว +7

    That's the longest video I have ever watched without skipping

  • @codinginflow
    @codinginflow 3 ปีที่แล้ว +22

    with MVVM?

  • @abhijat_
    @abhijat_ 2 ปีที่แล้ว

    bnaya kya fir humne ??
    what are we making please mention the name of the App I dont have Time to Waste

  • @maryannadelman4438
    @maryannadelman4438 2 ปีที่แล้ว +3

    Love your teaching style. Easy to follow for someone like me who is such a newbie to coding. One question: I followed the tutorial and it came out fine except that the list wouldn't retain the entries. However, I did not do this as a standalone app - I added the todo list as an activity to an existing app I'm making. Would that be the reason the entries disappeared once I closed the activity and went to another page? Maybe there's a bit of extra code I'm needing?
    Thanks again for the tutorial. Really helpful for a 50+ lady like me who's such a rookie

    • @jonan2199
      @jonan2199 2 ปีที่แล้ว +1

      listen in at the beginning he said that nothing will be saved on app exit I think

  • @kanghanj
    @kanghanj 3 ปีที่แล้ว +1

    make me realize how easy swift is building an app.

  • @oluwatosinsanni3748
    @oluwatosinsanni3748 3 ปีที่แล้ว +4

    Please, bring on flutter tutorial Brad.