Recently i started Android Course on Udemy with Tim Buchalka, and looking for information while watching videos, i wondered What’s Android Context exactly?
You require to specify a Context as a parameter in a lot of functions, but i didn’t have a good understanding about it’s purpose. So i started searching and i found this nice answer in StackOverflow:
“As the name suggests, its the context of current state of the application/object. It lets newly created objects understand what has been going on. Typically you call it to get information regarding another part of your program (activity, package/application)”
So, basically Context objects helps your code to be in context of what’s in your application, it’s current state. Nice answer for me, just wanna share with you.
Source: What is context in Android