Activity Lifecycle in Android [Kotlin 2020]

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ธ.ค. 2024
  • As Android developers, it is important to understand what is activity lifecyle and how it works under the hood. In this tutorial, I will explain you what are android process states, activity stack, and activity lifecyle thoroughly. I will also show you what will happen exactly behind the scene once a user navigates between activities. Lastly, I will explain the 7 main callbacks: onCreate, onStart, onResume, onPause, onStop, onDestroy and onRestart in details.
    I hope you enjoy this video tutorial!!
    🔴 Subscribe for more educational tutorials on CodeWithMazn channel!
    Follow me on Instagram
    / codewithmazn

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

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

    Sweet! Always nice to have a refresher on these things. Also very well done on explaining. I tried making a video on this, but I couldn't understand myself, so I scrapped it haha.

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

      Feedback from the legend means a lot! Well, its not easy to explain abstract concepts. I had to read an entire chapter to know how to explain it.

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

    I'm going back to my android developer career and this helped me. thank you for this. hoping more content like this on your future videos

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

      I am glad that you found my tutorial on TH-cam! Welcome back to android world!

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

      Sorry to be so offtopic but does anybody know of a trick to get back into an instagram account??
      I was stupid forgot my password. I would appreciate any assistance you can offer me.

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

    You're great man ..Thanks .

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

    Really good and structured explanation plus visual elements. Keep it up!

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

    0:43 "Whenever you launch an application, it will has its own processes" (sic)
    Where did you read the information that launched application has few processes? From my understanding of "Processes and Application Lifecycle" Android docs, an application's process can be one of 4 types: foreground, visible, service or cached process

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

    I needed this thank you!!

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

      Glad that you liked it!

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

    Thanks brother really helped