Android Kotlin: Forecast App 01 - Navigation & App Foundation - MVVM Tutorial Course

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

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

  • @matt-g-recovers
    @matt-g-recovers 5 ปีที่แล้ว +5

    I would argue this is one of if not THE most powerful set of tutorials for Android 2019.
    Kotlin, Coroutines, Retrofit, caching data from the web, etc etc. Everything most Android apps need is here.

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

    I solved the problem with the method 'bottom_nav.setupWithNavController(navController)'. Steps:
    1) You have to update your Android Studio version to the last one in the dev channel, I'm using Canary 3.3 RC 2.
    2) Import the exact version dependencies like Reso Coder did in build.grade (app) and build.grade (forecastapp)
    3) Do the same steps indicated in the video.
    Good Luck and Happy coding! oh and thanks you Reso Coder, amazing channel!

  • @jonathanyost5546
    @jonathanyost5546 6 ปีที่แล้ว +20

    If anyone is having trouble with onSupportNavigateUp in MainActivity, this is how you write the return statement without using the deprecated NavigationUI.navigateUp method:
    // The navigateUp method takes parameters differently now
    // return NavigationUI.navigateUp(NavController, drawerLayout)
    return NavigationUI.navigateUp(Navigation.findNavController(this, R.id.nav_host_fragment), null)

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

    Thank you for your videos. You have a nice accent, so clear pronunciation) I'm from Russia and it really helps me to understand every word you said.

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

      помоги мне запустить?

  • @simrandotdev
    @simrandotdev 6 ปีที่แล้ว +8

    Definitely. Your voice quality, video quality and also the content that you are covering.

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

    Good tutorial!
    If you have a problem with - setTitle(java.lang.CharSequence)' on a null object reference
    (I am using ext.navigation_version = '1.0.0-rc02')
    Just setup action bar.
    setContentView(R.layout.activity_main)
    setSupportActionBar(toolbar)
    navController = Navigation.findNavController(this, R.id.nav_host_fragment)
    ...

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

    Best tutorial about MVVM so far

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

    The best channel i found to learn architecture component, good job man👍👍

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

    very nice that you use android studio 3.3 but like most users i am at 3.2 and dont have androidX
    EDIT: i installed the android studio 3.3 beta and i still dont see the enable navigation editor button

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

    This is what I've been looking for! Thank you for this. I'm not as good at Kotlin as I am Java, but this does the trick.

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

    really like the quality of your tutorial and appreciate all the effort u have done.

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

    Great topic. Great channel and great tutorial 👍👍

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

    Hi, nice video!
    What's that desktop wallpaper & gadget?
    btw, you can click the settings icon near the files menu, and untick 'Hide Middle Empty Packages' , in order to see the real root instead of a grouped one

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

    You are the MAN!. I love clean code!

  • @jamesedwards9054
    @jamesedwards9054 5 ปีที่แล้ว

    What color scheme are you using. I like how the brackets are different colors so that you can know where it begins and ends easily.

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

    Could you share your android studio editor settings? I like your color text theme :)

  • @baijusharma6027
    @baijusharma6027 5 ปีที่แล้ว

    Waiting for more Kotlin tutorial like this. Thank you.

  • @BloodManticore24
    @BloodManticore24 5 ปีที่แล้ว

    These tutorials are very good, but sometimes I wish you included a small drawing (paint is good enough) to understand the general idea of why are we doing things.

  • @harishpadmanabh6857
    @harishpadmanabh6857 4 ปีที่แล้ว

    the end points used are shut down now but the tutorial is very amazing

  • @GOOBLE07
    @GOOBLE07 4 ปีที่แล้ว

    Followed this tutorial today!

  • @superrio1994
    @superrio1994 5 ปีที่แล้ว

    Hi Matej, you did awesome job. The best tutorials I've found so far.
    I have quick question. How would you pass an argument withing clicking on nawdrawer item? For Example, I'm showing multiple lists inside one fragment, depending on role of the argument(a,b,c). When I choose an action it's easy to do it with safe args, but is there some more elegant solution to do it beside overriding onOptionItemSelected. Cos if I do that I lost the beauty and clean code of setupWithNavController.
    Big thanks for everything

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

    Those who are using Kotlin 1.3.31 or higher make a little change on your onSupportNavigate app -
    override fun onSupportNavigateUp(): Boolean {
    return NavigationUI.navigateUp(navController,null)
    }

  • @marcp3743
    @marcp3743 6 ปีที่แล้ว

    Thank you very much for your tutorials. I am learning a lot!

  • @fahrican9708
    @fahrican9708 4 ปีที่แล้ว

    Great video! Keep up the good work.

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

    In this course there will be lessons about testing?

  • @levulinh1438
    @levulinh1438 5 ปีที่แล้ว

    I literally love you so muchhh, you saved my day.

  • @meesamgardezi6732
    @meesamgardezi6732 4 ปีที่แล้ว

    Your wallpaper is really cool.Please give me a link to download it

  • @bhupendrarawat7417
    @bhupendrarawat7417 5 ปีที่แล้ว

    navigation arch component is same as jetpack navigation components?which one is better?

  • @sanaebadi97
    @sanaebadi97 5 ปีที่แล้ว

    I am starting it reso coder .. tnx so much

  • @aneirine
    @aneirine 5 ปีที่แล้ว

    Thank you for such a great tutorial!

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

    I do not have the option for Navigation Controller, any help ? I'm using Android Studio 3.4

  • @ArchiWorldRuS
    @ArchiWorldRuS 4 ปีที่แล้ว

    How did you customize your Android Studio?

  • @GOOBLE07
    @GOOBLE07 4 ปีที่แล้ว

    this might be a stupid question but when you start the new project with an empty activity, I don't see the option of including Navigation Controller. Is that just a dependency that gets imported?

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

    A question unrelated to the tutorial, how did you get your desktop to display the icons in such a hexagonal way, with your pc hardware stats on the right?

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

      Check out Rainmeter for Windows. You can make all kinds of beautiful desktop layouts with it.

    • @magnumursus
      @magnumursus 5 ปีที่แล้ว

      ​@@ResoCoder thank you! edit: there used to be a question here however it resolved itself....

  • @nzibukarnold1486
    @nzibukarnold1486 5 ปีที่แล้ว

    Great course by the way

  • @장혜성-z5x
    @장혜성-z5x 3 ปีที่แล้ว

    Thank you for your videos

  • @raulkantor
    @raulkantor 4 ปีที่แล้ว

    Does anybody know which color theme he is using? I loved it so much but I can't find it

  • @rohitjoshi6335
    @rohitjoshi6335 5 ปีที่แล้ว

    Awesome tutorial learned a lot!!!!

  • @debugyourproject7016
    @debugyourproject7016 4 ปีที่แล้ว

    I did everything as you show, but switching between fragments doesn't work

  • @akashjagtap1096
    @akashjagtap1096 5 ปีที่แล้ว

    can you create video on UI and unit testing in android

  • @errysuprayogi5280
    @errysuprayogi5280 5 ปีที่แล้ว

    clean and clear

  • @wildjoe6259
    @wildjoe6259 6 ปีที่แล้ว

    Very useful tutorial wiil be! Thx a lot!!

  • @voicheci007
    @voicheci007 6 ปีที่แล้ว

    Quick question, why Kodein instead of Dagger? Is this the recommended way to do DI?

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

      There is no recommended way, but Kodein is built for Kotlin. It's idiomatic and takes much fewer lines of code. You can go with Dagger if you really want to.

    • @AdarshMadrecha
      @AdarshMadrecha 6 ปีที่แล้ว

      My guess would be - Since we are using Kotlin, and much other good stuff about "Kodein"

  • @soumyadeb7358
    @soumyadeb7358 5 ปีที่แล้ว

    Hi, everything is working perfectly, just the "Up" button is not working.

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

    Hi! Great videos, thanks. Please explain me how i can use this structure with firestore or parse server database ? Where should i write database querys and as you know Firestore queries works different thread, is it a problem? And also how can i use local sqlite and firestore together with this MVVM structure?
    I just learned this concepts and i want to make it clear, thanks for your help:)

  • @jccj_
    @jccj_ 4 ปีที่แล้ว

    I cant add the New Destination with the button because it is not displaying anything, I was able to add the destinations by code but my question is Why is not displaying anything? PD: After I wrote the fragments manually in mobile_navigation.xml the app runs correctly but continue not displaying anything with the button "New Destination" in Design

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

    how can I switch it to fahrenheit?

  • @yurazhovnir9322
    @yurazhovnir9322 5 ปีที่แล้ว

    Thank you.

  • @pdjeowudjx
    @pdjeowudjx 5 ปีที่แล้ว

    I really appreciate you

  • @Kekszmester
    @Kekszmester 5 ปีที่แล้ว

    LOVE IT!

  • @rajivkumargupta8467
    @rajivkumargupta8467 6 ปีที่แล้ว

    Awesome sir useful

  • @boomtechnology333
    @boomtechnology333 4 ปีที่แล้ว

    wow

  • @hachij_
    @hachij_ 4 ปีที่แล้ว

    is this course still relevant now ? (2020) i wanna start this course but i afraid the some part is outdated

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

      still relevant , just some method different way but the concept is still relevant

  • @ralphGabbbbbb
    @ralphGabbbbbb 4 ปีที่แล้ว

    Anyone has an updated version of fetching data on server ? I know the await method is kinda deprecated now.

  • @asifali-mr2lv
    @asifali-mr2lv 6 ปีที่แล้ว +1

    i have No option for
    navigation controller in android studio?

    • @jonathanyost5546
      @jonathanyost5546 6 ปีที่แล้ว

      You're probably not using the same version of Android Studio that he is. I'm using 3.4 Canary 5 which is more recent than what he's using I don't have the option either. You'll have to add it manually.

  • @dangdatraymonddelmut3230
    @dangdatraymonddelmut3230 4 ปีที่แล้ว

    Your website is down. I can not get the source code

  • @200억달성
    @200억달성 4 ปีที่แล้ว

    good.

  • @Eduardo-ld5us
    @Eduardo-ld5us 5 ปีที่แล้ว

    Awesome

  • @dmitry6472
    @dmitry6472 5 ปีที่แล้ว

    Great tutorial! Thank you very much.
    Only thing I would say, as for me too much libraries for beginning.

  • @Alvin-dg9pq
    @Alvin-dg9pq 6 ปีที่แล้ว

    The setupWithNavController does not work unless I use the support version of BottomNavigationView. Also, setupActionbarWithNavController won't accept my Activity unless it's from the support lib. Any ideas? Androidx is not being accepted by Androidx lol

    • @franciscoandrade729
      @franciscoandrade729 6 ปีที่แล้ว

      ext.navigation_version = '1.0.0-alpha06' worked for me

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

    bottom_nav.setupWithNavController(navController) doesn't work.. It can't recognize 'setupWithNavController()'

    • @ResoCoder
      @ResoCoder  6 ปีที่แล้ว

      Hm, then try NavigationUI.setupWithNavController(bottom_nav)

    • @guganemsveridze8070
      @guganemsveridze8070 6 ปีที่แล้ว

      I just downloaded your code from github and, unsurprisingly, it works :D thanks

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

      I've had the same problem when replaced alpha09 with alpha06 at
      classpath 'android.arch.navigation:navigation-safe-args-gradle-plugin:1.0.0-alpha06' . setupWithNavController method works with alpha06

    • @Mradmin901
      @Mradmin901 5 ปีที่แล้ว

      @@beyazidyargici2382 Unfortunately its not working for me either witth alpha06 or aplha09. The project from GitHub works, but with my own project, it doesn't.

    • @beyazidyargici2382
      @beyazidyargici2382 5 ปีที่แล้ว

      ​@@Mradmin901 You can try delete .idea and .gradle folders then clean and rebuild gradle. And you should add android.useAndroidX=true to gradle.properties

  • @leonraicevic1360
    @leonraicevic1360 4 ปีที่แล้ว

    I don't have include navigation editor, can someone help me

  • @nzibukarnold1486
    @nzibukarnold1486 5 ปีที่แล้ว

    Hello @resocoder I started following this course in the past week and I am getting an error "ava.lang.RuntimeException: Unable to start activity ComponentInfo{mna.mumbere.forecastmvvm/mna.mumbere.forecastmvvm.ui.MainActivity}: android.view.InflateException: Binary XML file line #18: Binary XML file line #18: Error inflating class fragment" how can I fix it please?

    • @AbhinavKulshreshtha
      @AbhinavKulshreshtha 5 ปีที่แล้ว

      Actual error is line next to that line. For me, It was missing starting fragment for mobile_navigations which was removed once I loaded the fragment in mobile_navigation, and corrected the names of the classes.

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

      had the same error. Fixed it by copy and paste the code on github for mobile_navigation.xml not sure what was causing it as I have checked the file many times before doing that. Only thing I didn't have was the action tags.

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

    Hello, Reso Cover, remember Android Kotlin: Forecast App. I repeated your project, but I've been racking my brain for a long time, if you enter the wrong name of the city, the application crashes. I ask you very much to help, because only you can help, I will be very grateful

  • @anjanikumar9038
    @anjanikumar9038 5 ปีที่แล้ว

    how to remove back icon form fragment

  • @yunusemrekaplan8352
    @yunusemrekaplan8352 4 ปีที่แล้ว

    hi, unfortunately api is disabled.

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

    What color scheme are you using?

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

      Material Theme UI

  • @andy0x58
    @andy0x58 4 ปีที่แล้ว

  • @eyalmuchtar3390
    @eyalmuchtar3390 4 ปีที่แล้ว

    The to code is broken

  • @juanjoseosuna6775
    @juanjoseosuna6775 4 ปีที่แล้ว

    Hi everyone,
    If Anyone has difficults with "android.room:room-compiler:2.1.0-alpha01". Because that don't let me run the app, it show me the next warning:
    Could not find android.room:room-compiler:2.1.0-alpha01.
    Searched in the following locations:
    - dl.google.com/dl/android/maven2/android/room/room-compiler/2.1.0-alpha01/room-compiler-2.1.0-alpha01.pom
    - jcenter.bintray.com/android/room/room-compiler/2.1.0-alpha01/room-compiler-2.1.0-alpha01.pom
    - dl.bintray.com/kodein-framework/Kodein-DI/android/room/room-compiler/2.1.0-alpha01/room-compiler-2.1.0-alpha01.pom
    Required by:
    project :app
    And i think is about kapt plugin, but i don't know where the problem is.

  • @adiyogi-thefirstguru5144
    @adiyogi-thefirstguru5144 6 ปีที่แล้ว

    waiting for your Flutter series!!!!!

  • @hernanipereira6295
    @hernanipereira6295 5 ปีที่แล้ว

    Your api does not work

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

    liar there is no link for code or assets in description

  • @g-tensolution8527
    @g-tensolution8527 6 ปีที่แล้ว +1

    How in earth I switch to Kotlin When i Know more about Java :( and nothing about Kotlin.

  • @AshishGautam-sy3vm
    @AshishGautam-sy3vm 5 ปีที่แล้ว

    best tutorial on mvvm so far

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

    i dont see include navigation controller option when i create a new project
    My android studio version - 3.5

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

      3.5 doesn't have it as an option. You'll need to create a navigation package and then it's own navigation file, naming it mobile_navigation like he has in the video

  • @cauehell
    @cauehell 5 ปีที่แล้ว

    Awesome