This is exactly the way I needed this to be explained. Thanks so much for this video!
@MO-er7xp4 жыл бұрын
thank you so much you are the first one in youtube who understand context
@AmirKhan-uh5vd4 жыл бұрын
This was the best videos explaining everything about Context correctly and easily
@rowenarrow4 жыл бұрын
This a great breakdown and nowI feel like I understand it.
@hoddiewarrior45054 жыл бұрын
Best Explanation ever am not fully there with context but this saves me alot of time your the best!!!!
@leonelp9593 Жыл бұрын
Wow this was really good explained thanks bro !
@mohamedhussien2101 Жыл бұрын
Love that description
@faustinlule90243 жыл бұрын
Thank you Sir! Clear explanation and easy to understand! God bless you so much!
@shadsluiter3 жыл бұрын
So nice of you
@wizardy62672 жыл бұрын
Thanks for your tutorials, this is a very nice one :) I am a c++ coder, I learned Kotlin before Android. At the beginning, one thing confused me about the context is the coroutine context and the Android Application context. They used in different context but with the same name... context, took me some time to tell which is which without using the inlay hints, that is annoy :(
@d.ndriotis92092 жыл бұрын
3:58 Context visualized as a tree 5:08 4 ways to get the context
@naejsyned68785 жыл бұрын
Très bon tutoriel, merci beaucoup!
@johannesbakary96054 жыл бұрын
Damn that explaining style of yours is enticing, will check out some more vids of you now. keep it up!
@johannesbakary96054 жыл бұрын
Btw do i understand that correctly - No matter where i get a context from within the activities fragments/views they all refer to the same thing? this Layoutinflater inside my recycler view adapter class "val inflater = LayoutInflater.from(parentRecyclerView.context)" and " Toast.makeText(requireContext(), selectedStrain, Toast.LENGTH_LONG).show()" this requireContext call in a mostly unrelated fragment inside the same activity go to the exact same thing? so as long as I get the context from whereever im good and i dont have to worry where i got it from as long as its within the same activity?
@shadsluiter3 жыл бұрын
They are both instances of Context, but the application instance is tied to the lifecycle of the application, while the Activity instance is tied to the lifecycle of an Activity. Thus, they have access to different information about the application environment. stackoverflow.com/questions/4128589/difference-between-activity-context-and-application-context#:~:text=They%20are%20both%20instances%20of,information%20about%20the%20application%20environment.
@smnmj33204 жыл бұрын
Most good explanation over youtube.. Thanks for the information...
@shadsluiter3 жыл бұрын
You are welcome
@beaver_stealer4 жыл бұрын
Plenty of examples thanks mate!
@muhammadhassan30584 жыл бұрын
Sir it's very very helpful tutorial thanks Sir Soo much
@kayanthepioneer2 жыл бұрын
super helpful! thanks you so much
@pms_code2 жыл бұрын
Good Explanation, I understood, Thank you so much ❤
@shamithrao67924 жыл бұрын
didnt get shit, help me if any of you can!
@prasannasilva43602 жыл бұрын
Understood well sir! thank you
@WeirdStuffaaaa2 жыл бұрын
thankks
@Nagabona2 жыл бұрын
Useful infomation... Thank you very much
@hainguyen-xn7bh2 жыл бұрын
Very good and funny videos bring a great sense of entertainment!
@cinnybun7392 жыл бұрын
love this
@azizas93664 жыл бұрын
great explanation
@thegreatwarrior49893 жыл бұрын
what amazing explanation !!!
@StaleCookies3 жыл бұрын
Thankyou
@anmaresh4 жыл бұрын
It helped me a lot, thank you very much!
@samstoyroom5 жыл бұрын
Excellent video!!Thanks!!
@aakankshiaggrawal25663 жыл бұрын
Well explained
@czyzyk784 жыл бұрын
Very instructive video for a starting developer. Thank you.
@LordBrahaam3 жыл бұрын
nadie me puede ayudar en serio tengo un problema y es que no me deja poner context: por que me marca error al poner el siquiente comando Toast.makeText( context; this, text: "El segundo valor deb? ser diferente de 0", Toast.LENGTH_LONG).show();
@ManeelxAkosAdor2 жыл бұрын
porque el this no es el mismo this de la actividad. Usando getApplicationContext() debería resolver el problema.
@zarinarazali50102 жыл бұрын
the video image is too poor, you need to fix it more
@369gunigunni94 жыл бұрын
thanku sir
@robertvandobutarbutar69643 жыл бұрын
sir, please update tutorial about android, i will waiting you sir
@shadsluiter3 жыл бұрын
Will do soon
@user-im4kk3wq4i4 жыл бұрын
Tres bonne video meme si ne comprend que la moitie avec mon niveau d anglais.