Context, when to use?

Asked

Viewed 62 times

0

My question is simple, what is the context function in an application ? what’s the difference between using one and not using one?

thanks in advance !

  • In what context are you referring to Context? I don’t understand when you ask, "what’s the difference between using one and not using one?"

  • I wonder why use context in an app, I don’t understand anything about context

  • Try rephrasing your question. Do you refer to the Context class? If yes, there is no question of "use or not use", it is mandatory to use when necessary.

  • Then more I wanted to know when it is necessary kk

  • 2

    See if this is what you’re looking for: What is a context on Android?.

  • 2
  • That’s right, thank you

Show 2 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.