Android Tutorial 23 - What's a Context?

Please login in order to report media.

  • Uploaded 8 months ago in the category How to programming

    This is an excerpt from Learn by Doing - Android for Beginners on Udemy.
    https://www.udemy.com/learn-by-doing-android-for-beginners/

    This video introduces to the Context and also lets you know about the things you can do using a Context.

    Things to Remember
    -------------------------------
    1.

    Context allows you to
    a.

    Access resources
    b.

    Interact with other Android components by sending messages
    c.

    Gives your information about your app environment.

    2.

    Activity is an indirect subclass of the Context class.

    3.

    You can use your Activity instance whenever you encounter a Context parameter.

    4.

    Views use Context to access resources they need such as strings, drawables, dimensions, animation, etc.,

  • androidtutorial23what&039;context?