Weather app with Retrofit 🔥 | Android Studio | Jetpack Compose 2024

Поділитися
Вставка
  • Опубліковано 10 січ 2025

КОМЕНТАРІ • 93

  • @geoffreyfisher7434
    @geoffreyfisher7434 6 місяців тому +10

    Hi Bima, I just stumbled across your YT channel and I have to say how impressive you are. I'm a retired 30+ years software Programmer / Analyst and have rarely seen someone who documents/graphically designs and programs to that design so clearly and concisely.

  • @light2790
    @light2790 4 місяці тому +2

    i like how you show the architecture before proceeding to build the app, it gives so much clarity of what we gonna do, what we required and how we are doing it.
    so far you are the only youtuber i have seen doing this, most other youtuber just straight starts to build the app with no explanation of the architecture or what's the plan is to build it.

  • @TheEncouragementRoom
    @TheEncouragementRoom 4 місяці тому +3

    Thanks for your great tutorial on Android App using Jetpack Compose and MVVM architecture. Your code is simple and easy to understand. Keep up the good work!

  • @basedlegit
    @basedlegit 5 місяців тому +1

    Thank you so much sir!!! Very detail and clear explanation, with logcat guidance, many people didn't teach those so I have no clue when the app ain't run at the end!! You are awesome !! Hope to see more valuable contents from you.

  • @softwareAlchemyWithTandon
    @softwareAlchemyWithTandon 2 місяці тому +4

    after coil 3.x use both dependencies for async Image function then it will load the photo
    implementation("io.coil-kt.coil3:coil-compose:3.0.2")
    implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.2")

    • @roopkishore785
      @roopkishore785 17 днів тому

      Thanks for solving my issue, i was scrambling to get image loaded

  • @MubashirRafique-eh2fq
    @MubashirRafique-eh2fq 18 днів тому

    Great Project for learning Jetpack Compose and MVVM, Retrofit, Api etc.

  • @SanusiAdewale
    @SanusiAdewale 6 місяців тому

    Im an iOS developer looking to learn JPC, just saw your channel and for real its beginner friendly and well explained. Youre what I've been searching for.

  • @ayushghonge
    @ayushghonge Місяць тому

    Hello sir, it was worth it , learned lot of new things , thank you so much.

  • @prem_kumar
    @prem_kumar 7 місяців тому

    I am learning jetpack compose, and I like that you follow a simple pattern which makes understanding concepts very clear.
    For example: I was facing problem understanding viewModels but you make a standard code in every project, which helps a lot.
    Keep uploading new compose projects.

    • @techkid358
      @techkid358 6 місяців тому +1

      can u explain why exactly we use ViewModel, or what it's benefits ?

    • @prem_kumar
      @prem_kumar 6 місяців тому

      @@techkid358 with viewmodel you can separate the logical code and ui code. In the ui code file you just have to call the viewmodel methods and the code becomes more easily readable. Otherwise you will have to go in different files to check where the logical code is written.

    • @kartikgdrbd
      @kartikgdrbd 4 місяці тому

      @@techkid358 +1

  • @theblueplanet3576
    @theblueplanet3576 5 місяців тому

    Awesome content. You deserve more likes on this video. 👍👍👍

    • @EasyTuto1
      @EasyTuto1  4 місяці тому

      Thank you so much 😀

  • @techkid358
    @techkid358 7 місяців тому +2

    18:00 convetor ka shortcut key kya hai mac me ??

  • @richartfernandez
    @richartfernandez 5 місяців тому

    Excelente video, muy ilustrativo y el ejemplo realizado es completo.
    Sólo me queda agradecer, porque aprendí mucho!
    Muchas gracias

  • @chantecbrayanricardo7768
    @chantecbrayanricardo7768 7 місяців тому

    Thank you, I learned too much. I will continue to see your content

    • @EasyTuto1
      @EasyTuto1  6 місяців тому

      Glad to hear it!

  • @dhruvsharma5786
    @dhruvsharma5786 6 місяців тому

    Thankyou Dear Sir ❤
    I really enjoyed learning 🎉
    You made it so easy to understand 🙏

    • @EasyTuto1
      @EasyTuto1  6 місяців тому

      It's my pleasure

  • @danielaloycedaniel
    @danielaloycedaniel 3 місяці тому

    Bro, you deserve salute

  • @mehmetaltinsoy525
    @mehmetaltinsoy525 4 місяці тому

    Great tutorial. Thanks

  • @felixamenya4554
    @felixamenya4554 7 місяців тому

    Thanks for this amazing tutorial

  • @ShourovRoy-pk5zm
    @ShourovRoy-pk5zm 7 місяців тому +1

    Great. Just subscribed. Please make videos on ui design also. The composables are looking google product. Like in flutter we can customize a material widget into our own, like disabling ripple, changing ripple color, bottom bar using their api. Which is hard in jetpack compose i guess

  • @pranavtodkar7811
    @pranavtodkar7811 3 місяці тому

    thanks thanks thanks!!!
    great video

  • @hsbytes
    @hsbytes 5 місяців тому

    Thank you so much sir. Excellent ❤❤

  • @KhagendraOli-x6v
    @KhagendraOli-x6v Місяць тому

    thank you for your video. could you explain how can we display weather forcast
    for following 7 days. thanks

  • @eqa3ati
    @eqa3ati 7 місяців тому

    Really thank you. Please make a video of running Metronome at a certain real speed, for example, let it be 120 BPM and 4/4, using Java or Kotlin.

  • @loveyouself5389
    @loveyouself5389 5 місяців тому

    Thanks for the awesome teaching, thanks for doing it in English

  • @aashutoshsathe8078
    @aashutoshsathe8078 5 місяців тому

    Thank you so muchh sirrr❤

  • @vishal_das99
    @vishal_das99 6 днів тому

    hello sir can you plz Intergate forecast option

  • @mahboobahmadofficial1
    @mahboobahmadofficial1 6 місяців тому +2

    sir kindly used StateFlow instead of live data, and use HILT for retrofit object, use latest things, i know its a beginner level project but use latest things 🥰

    • @darkstain054
      @darkstain054 5 місяців тому

      Also he doesn’t have a repository

  • @AdityaEditzYT
    @AdityaEditzYT 7 місяців тому

    Best Quality. Plz continue making such projects and plz remeber while making videos that we are begineers so make it begineer friendly. BTW Thanks for this video 🕉🕉❤❤

    • @EasyTuto1
      @EasyTuto1  7 місяців тому

      Thank you, I will.

  • @Wildscreen8197
    @Wildscreen8197 7 місяців тому

    No Activity found to handle Intent { act=android.intent.action.PICK typ=Image/* } please help me about this problem sir

  • @GuruGaming-xj2qe
    @GuruGaming-xj2qe 5 місяців тому

    hlo bro please reply , i copied everything from you i tried a lot check all the things again and again but it is not working it always show unable to load what to do

  • @helloabd123
    @helloabd123 Місяць тому

    Is this MVVM architecture?

  • @obewan-kenobi
    @obewan-kenobi 5 місяців тому

    very nice video thank you, can you make a video about crud retrofit connecting localhost web api server using postgresql with jetpcak compose mvvm architecture?

  • @mayurchaudhari3632
    @mayurchaudhari3632 24 дні тому

    please heal me to load data of india when the app launches instead of empty

  • @Abbas39x
    @Abbas39x 29 днів тому

    Sir, I didn't get an API key after signing up

  • @khan-um6hp
    @khan-um6hp 6 місяців тому

    please make a complete e commerce project with api integration & local db

  • @ookie218
    @ookie218 7 місяців тому

    I have a question if i may. When using the weather API in the view model, does it matter if we psss it with object instantiation or DI with constructor injection? Whats the benefit of DI in that case?

    • @EasyTuto1
      @EasyTuto1  7 місяців тому

      If you have large scale project use DI otherwise for small project like this, its not required.

  • @AmitKumar-q7p9f
    @AmitKumar-q7p9f 2 місяці тому

    Nice Video

  • @MobileDeveloper1965
    @MobileDeveloper1965 7 місяців тому

    Good English. If you can slow down a bit you will be perfect.

  • @Wildscreen8197
    @Wildscreen8197 7 місяців тому +1

    CAN YOU PLEASE MAKE A VOICE RECORDER APP WITH JETPACK COMPOSE ? PLEASE REPLY .

  • @sokheanggamer5342
    @sokheanggamer5342 7 місяців тому

    thank you for this video

    • @EasyTuto1
      @EasyTuto1  7 місяців тому +1

      Welcome!❤

    • @dhananjayingole5070
      @dhananjayingole5070 5 місяців тому

      Bro your videos are amazing.keep posting such amazing​ and explanatory videos❤❤@@EasyTuto1

  • @raeesmohit01
    @raeesmohit01 7 місяців тому

    Just One Question how much time you actually need to make this app?

  • @radheshyampatel5578
    @radheshyampatel5578 4 місяці тому

    20:32

  • @Cloudy-19-x
    @Cloudy-19-x 2 місяці тому

    Kya XML Ana jaruri he

  • @Anonymous0202.
    @Anonymous0202. 7 місяців тому +1

    God bless you

  • @new_life_
    @new_life_ 6 місяців тому

    how to integrate current location in weather app

  • @danielrabinovich4813
    @danielrabinovich4813 29 днів тому

    good job!

  • @dishaswarajsoft2834
    @dishaswarajsoft2834 5 місяців тому

    Hello Sir. I have developed as per you and its all successfull.
    Only I cant do that the image with coil, something kotlin version error is raising.
    Please help me out.

    • @astridspartan
      @astridspartan 27 днів тому

      implementation("io.coil-kt.coil3:coil-compose:3.0.2")
      implementation("io.coil-kt.coil3:coil-network-okhttp:3.0.2")
      add these in your gradle dependencies

  • @crazyff5777
    @crazyff5777 7 місяців тому

    I really like your videos ❤
    Can you create a complete music app using dezzer API in android studio please 🙂

    • @EasyTuto1
      @EasyTuto1  7 місяців тому

      Noted.

    • @crazyff5777
      @crazyff5777 7 місяців тому

      @@EasyTuto1 where you noted 📝
      Show me 💀
      Please create it
      Because when I use dezzer API so it provides only preview url which was play in media player
      But these full provided url can't play in media player
      Or
      When I try to use Spotify so it's paid because it gives exception( You Are not subscribed to this API)
      And I check many other API but no one is usefull
      Please find a good and best API which plays indian songs also 😘

  • @virajsahare2680
    @virajsahare2680 2 місяці тому

    Bro can we implement fetch current location functionality to get current weather of location??

  • @thamilarasup1499
    @thamilarasup1499 7 місяців тому +1

    Bro Android studio
    App create to
    How earn money vedio please

  • @Wildscreen8197
    @Wildscreen8197 7 місяців тому

    SIR iam watched your video which is tiktok clone app and i have done all the videos as well as everything is ok but finally i have a problem like this
    android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.PICK typ=Video/* }
    now how to solve it.

    • @junmarta3591
      @junmarta3591 7 місяців тому

      Best to ask ChatGPT: I asked a question about your problem and chatGPT answered me:
      The ActivityNotFoundException you're encountering suggests that there is no application installed on the device that can handle the intent you are trying to start. Specifically, it seems like you're trying to open a video picker with the following intent:
      java code
      Intent intent = new Intent(Intent.ACTION_PICK);
      intent.setType("video/*");
      startActivityForResult(intent, REQUEST_CODE_PICK_VIDEO);
      Here are a few potential solutions to handle this issue:
      1. Check if there's an app that can handle the intent
      Before starting the activity, check if there is an app that can handle the intent:
      java Code
      Intent intent = new Intent(Intent.ACTION_PICK);
      intent.setType("video/*");
      if (intent.resolveActivity(getPackageManager()) != null) {
      startActivityForResult(intent, REQUEST_CODE_PICK_VIDEO);
      } else {
      // Notify the user or handle the absence of video picker apps gracefully
      Toast.makeText(this, "No app available to pick a video", Toast.LENGTH_SHORT).show();
      }
      2. Provide an alternative if no app is available
      If there is no app to handle the video picking intent, you could provide an alternative solution, such as allowing the user to record a video or using a third-party library to pick videos.
      3. Handle the exception
      You can wrap your startActivityForResult call in a try-catch block to handle the exception gracefully:
      java Code
      Intent intent = new Intent(Intent.ACTION_PICK);
      intent.setType("video/*");
      try {
      startActivityForResult(intent, REQUEST_CODE_PICK_VIDEO);
      } catch (ActivityNotFoundException e) {
      // Notify the user or handle the absence of video picker apps gracefully
      Toast.makeText(this, "No app available to pick a video", Toast.LENGTH_SHORT).show();
      }
      4. Use a File Picker Intent
      If your target is to let the user select a video file, you can use a more general file picker intent:
      java Code
      Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
      intent.setType("video/*");
      intent.addCategory(Intent.CATEGORY_OPENABLE);
      if (intent.resolveActivity(getPackageManager()) != null) {
      startActivityForResult(Intent.createChooser(intent, "Select a Video"), REQUEST_CODE_PICK_VIDEO);
      } else {
      Toast.makeText(this, "No app available to pick a video", Toast.LENGTH_SHORT).show();
      }
      5. Include a Permission Check
      Make sure you have the necessary permissions to access storage, especially if you are targeting Android 6.0 (Marshmallow) or higher, where runtime permissions are required.
      xml Code
      Also, check for the permission at runtime:
      java Code
      if (ContextCompat.checkSelfPermission(this, Manifest.permission.READ_EXTERNAL_STORAGE)
      != PackageManager.PERMISSION_GRANTED) {
      ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.READ_EXTERNAL_STORAGE}, REQUEST_CODE_PERMISSION);
      } else {
      // Permission has already been granted, proceed with the intent
      }
      By applying these solutions, you should be able to avoid the ActivityNotFoundException and provide a smoother experience for users when they try to pick a video.

  • @sagarsahoo4810
    @sagarsahoo4810 6 місяців тому

    Sir please make a using navigation

  • @techkid358
    @techkid358 5 місяців тому

    how to chnage the background according to temperature ?

    • @EasyTuto1
      @EasyTuto1  5 місяців тому

      Change background of parent layout programatically.

  • @Muhammad-Shafqat
    @Muhammad-Shafqat 6 місяців тому

    make a video on music player in jetpack compose plz

  • @Thereactors116
    @Thereactors116 6 місяців тому +1

    Ctrl + f shortcut how work

    • @mey9047
      @mey9047 6 місяців тому

      ctrl f+r

  • @sritikamanjrekar
    @sritikamanjrekar 5 місяців тому

    how to show AQI?

    • @EasyTuto1
      @EasyTuto1  5 місяців тому

      Show if it has that data in json.

  • @manofsteel6173
    @manofsteel6173 7 місяців тому

    Thanksss

  • @aligebril942
    @aligebril942 7 місяців тому

    We thank you for your good performance in explaining these practical applications, but we would like more complex applications so that we can learn how to improve performance.

  • @softwareAlchemyWithTandon
    @softwareAlchemyWithTandon 2 місяці тому

    AsyncImage(
    modifier = Modifier.size(120.dp),
    model = "https:${data.current.condition.icon}",
    contentDescription = "condition icon"
    )
    the Image is not reflecting in my application
    any update for this

    • @mayurchaudhari3632
      @mayurchaudhari3632 24 дні тому +1

      you can try this
      AsyncImage(
      model = ImageRequest.Builder(LocalContext.current)
      .data("https:${data.current.condition.icon}".replace("64*64","256*256"))
      .crossfade(true)
      .build(),
      contentDescription = null,
      modifier = Modifier.size(160.dp)
      )

    • @MubashirRafique-eh2fq
      @MubashirRafique-eh2fq 18 днів тому

      @@mayurchaudhari3632 works for me thanks.

  • @ManishKumar-uc1rw
    @ManishKumar-uc1rw 4 місяці тому

    20:44