#23 Android Tutorial : Activity LifeCycle : Part - 1

preview_player
Показать описание

Activity lifecycle in android well explained with the help of two activities. Oncreate , onStart, onRestart , onResume , onPause , onStop , onDestroy , all functions discussed in this tutorial. .
.
Please donate and support my work
(If you think my free tutorials are better than paid ones :)

Free Programming courses:

Free Flutter course:

Free Android courses:

More free programming courses:

Check out my website:

Let's get in touch! [Sriyank Siddhartha]

---- Thank you for your love and support ----
Рекомендации по теме
Комментарии
Автор

What u have explained here is damn awesome....u cleared my all doubts regarding life cycle which i thot to clear by printing in toast while moving from one activity to another....love u sir

manojrai
Автор

Amazing content in professional style.
Keep it up.

RoyalLogos
Автор

good explanation!!! good speaking speed as it won't waste listening time!! Excellent!

alfred
Автор

I don't know what to say! but you are amazing! thank you so much

Adam-gpij
Автор

from 6 months i am confused with on create start pause and all and now i actually understand, because of this thing i was not able to use fragmentation now i understood it, so, thanks Shreks

NazirHakim
Автор

You are the best teacher of the world, I love your style. thank you !! Merci !!!!

davidmansonn
Автор

the way u explained activity life cycle, its really awesome. u did lot of hard work on it.i like it. i really appreciate you for this..thanks a lot.

pawandey
Автор

you have put up a really great animation...thank you so much

deeproy
Автор

step by step with animation very clear tutorial <3

Ahmad_Selim
Автор

Thanks for that explanation!! very nice

nestidam
Автор

This was actually a really good presentation of the Android Activity Lifecycle.

invisiblealgorithm
Автор

Good Explainded, but i have a question before calling onCreate there Must be an instance of the MainActivity Class, so an activity object which can then perfom this methods is this right?

hdtsoft
Автор

Great explanation! What if you toggled onPause and onResume with the same Activity? What would happen to the Activity ?

epimaz
Автор

Very good explanation, what will happen if we keep this app in minimize and lunch other app?

srinivasaraothota
Автор

thanks bro i learnt what things till now to just keep my value when other activity opens and when I getback to that it lost I first saved it on sharedPrefences and then on destroy the value should be removed from shared preferences but when user remove from taskBar app onDestroy didn't work then i tried to sharevalues and get back the value but i had more activity the code will be more then and the function startActivtyforResolut this also worked but i had a swipe function for opening pages this didn't work proper cuz i had to finish activity to get result but i couldt use it so




after a day i found your videos thanks i had to firs learn activity life cycle before doing it all 🤦

but being honest I watched your video about 2 minutes

sardorbektalatov
Автор

"Right now" lol great vid tho

beeten
Автор

How to make situation that Ram is full and see Activity closes and calls onDestroy();.Please answer <3

nullentrophy
Автор

Hey man really thx! it was very nice...
i really don't understand nothing in android and i have a project in android that i am suppose to improve...
in this project i do not see any function that you mentioned except onCreate("bundle") do i need to have the other functions written?

tomerza
Автор

Super good Explanation. But little fast.

kvenkataraju
Автор

can you explaine how to restart an activity? Sometimes it is useful. My idea was to pass intent in extras of intent ahaha

hulevych
visit shbcf.ru