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

Поделиться
HTML-код
  • Опубликовано: 22 янв 2025

Комментарии • 93

  • @geoffreyfisher7434
    @geoffreyfisher7434 7 месяцев назад +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 5 месяцев назад +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 5 месяцев назад +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.

  • @MubashirRafique-eh2fq
    @MubashirRafique-eh2fq Месяц назад

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

  • @SanusiAdewale
    @SanusiAdewale 7 месяцев назад

    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.

  • @theblueplanet3576
    @theblueplanet3576 5 месяцев назад

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

    • @EasyTuto1
      @EasyTuto1  5 месяцев назад

      Thank you so much 😀

  • @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

  • @pranavtodkar7811
    @pranavtodkar7811 3 месяца назад

    thanks thanks thanks!!!
    great video

  • @techkid358
    @techkid358 8 месяцев назад +2

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

  • @chantecbrayanricardo7768
    @chantecbrayanricardo7768 7 месяцев назад

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

    • @EasyTuto1
      @EasyTuto1  7 месяцев назад

      Glad to hear it!

  • @richartfernandez
    @richartfernandez 5 месяцев назад

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

  • @dhruvsharma5786
    @dhruvsharma5786 7 месяцев назад

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

    • @EasyTuto1
      @EasyTuto1  7 месяцев назад

      It's my pleasure

  • @mehmetaltinsoy525
    @mehmetaltinsoy525 5 месяцев назад

    Great tutorial. Thanks

  • @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 28 дней назад

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

  • @AmitKumar-q7p9f
    @AmitKumar-q7p9f 2 месяца назад

    Nice Video

  • @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

  • @danielaloycedaniel
    @danielaloycedaniel 3 месяца назад

    Bro, you deserve salute

  • @felixamenya4554
    @felixamenya4554 7 месяцев назад

    Thanks for this amazing tutorial

  • @hsbytes
    @hsbytes 5 месяцев назад

    Thank you so much sir. Excellent ❤❤

  • @aashutoshsathe8078
    @aashutoshsathe8078 5 месяцев назад

    Thank you so muchh sirrr❤

  • @danielrabinovich4813
    @danielrabinovich4813 Месяц назад

    good job!

  • @KhagendraOli-x6v
    @KhagendraOli-x6v 2 месяца назад

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

  • @loveyouself5389
    @loveyouself5389 6 месяцев назад

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

  • @AdityaEditzYT
    @AdityaEditzYT 8 месяцев назад

    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  8 месяцев назад

      Thank you, I will.

  • @eqa3ati
    @eqa3ati 8 месяцев назад

    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.

  • @vishal_das99
    @vishal_das99 18 дней назад

    hello sir can you plz Intergate forecast option

  • @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.

  • @GuruGaming-xj2qe
    @GuruGaming-xj2qe 6 месяцев назад

    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

  • @sokheanggamer5342
    @sokheanggamer5342 8 месяцев назад

    thank you for this video

    • @EasyTuto1
      @EasyTuto1  8 месяцев назад +1

      Welcome!❤

    • @dhananjayingole5070
      @dhananjayingole5070 6 месяцев назад

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

  • @mayurchaudhari3632
    @mayurchaudhari3632 Месяц назад

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

  • @Abbas39x
    @Abbas39x Месяц назад

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

  • @Anonymous0202.
    @Anonymous0202. 7 месяцев назад +1

    God bless you

  • @dishaswarajsoft2834
    @dishaswarajsoft2834 6 месяцев назад

    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 Месяц назад

      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

  • @Wildscreen8197
    @Wildscreen8197 8 месяцев назад

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

  • @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?

  • @virajsahare2680
    @virajsahare2680 2 месяца назад

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

  • @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

  • @Wildscreen8197
    @Wildscreen8197 8 месяцев назад +1

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

  • @raeesmohit01
    @raeesmohit01 7 месяцев назад

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

  • @new_life_
    @new_life_ 6 месяцев назад

    how to integrate current location in weather app

  • @Cloudy-19-x
    @Cloudy-19-x 3 месяца назад

    Kya XML Ana jaruri he

  • @techkid358
    @techkid358 6 месяцев назад

    how to chnage the background according to temperature ?

    • @EasyTuto1
      @EasyTuto1  6 месяцев назад

      Change background of parent layout programatically.

  • @khan-um6hp
    @khan-um6hp 7 месяцев назад

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

  • @Wildscreen8197
    @Wildscreen8197 8 месяцев назад

    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 8 месяцев назад

      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.

  • @crazyff5777
    @crazyff5777 8 месяцев назад

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

    • @EasyTuto1
      @EasyTuto1  8 месяцев назад

      Noted.

    • @crazyff5777
      @crazyff5777 8 месяцев назад

      @@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 😘

  • @Thereactors116
    @Thereactors116 7 месяцев назад +1

    Ctrl + f shortcut how work

    • @mey9047
      @mey9047 7 месяцев назад

      ctrl f+r

  • @manofsteel6173
    @manofsteel6173 8 месяцев назад

    Thanksss

  • @sritikamanjrekar
    @sritikamanjrekar 6 месяцев назад

    how to show AQI?

    • @EasyTuto1
      @EasyTuto1  6 месяцев назад

      Show if it has that data in json.

  • @sagarsahoo4810
    @sagarsahoo4810 7 месяцев назад

    Sir please make a using navigation

  • @Muhammad-Shafqat
    @Muhammad-Shafqat 7 месяцев назад

    make a video on music player in jetpack compose plz

  • @MobileDeveloper1965
    @MobileDeveloper1965 7 месяцев назад

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

  • @thamilarasup1499
    @thamilarasup1499 8 месяцев назад +1

    Bro Android studio
    App create to
    How earn money vedio please

  • @radheshyampatel5578
    @radheshyampatel5578 5 месяцев назад

    20:32

  • @aligebril942
    @aligebril942 8 месяцев назад

    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 Месяц назад +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 Месяц назад

      @@mayurchaudhari3632 works for me thanks.

  • @ManishKumar-uc1rw
    @ManishKumar-uc1rw 4 месяца назад

    20:44