Android LiveData (JAVA) Tutorial | LiveData Step By Step For Beginners | Android JET PACK (Part-3)

Sdílet
Vložit
  • čas přidán 27. 04. 2020
  • LiveData is an observable data holder class. Unlike a regular observable, LiveData is lifecycle-aware, meaning it respects the lifecycle of other app components, such as activities, fragments, or services. This awareness ensures LiveData only updates app component observers that are in an active lifecycle state.
    For Adding the lifecycle components visit this link : developer.android.com/topic/l...
    The advantages of using LiveData
    - Ensures your UI matches your data state
    - No memory leaks
    - No crashes due to stopped activities
    - No more manual lifecycle handling
    - Always up to date data
    - Proper configuration changes
    - Sharing resources
    To Know more about Live Data Please visit this link : developer.android.com/topic/l...
    Let's Learn it with a simple example in the video.
    DOWNLOAD THE STARTER CODE : github.com/pavankumart46/View...
    FOR SOLUTION CODE : github.com/pavankumart46/Live...
    Link for ViewModel (Previous - Video 2) Video : • Android ViewModel (JAV...
    Link For DataBinding (Video 1) Video : • Android DataBinding Tu...
    ______________________
    Social Media Links
    ______________________
    Follow Me on Social Media :
    Facebook : vidhvantech
    Instagram : / pavankumarr. .
    LinkedIn : / pavankred. .
    Twitter : / trainertpk
    Bolg : pavankreddytadi.blogspot.com/
    My Profile: tpkreddy.github.io
  • Věda a technologie

Komentáře • 8

  • @gstarentertainmentedits2415

    very nice. 👌🙏🙏 please keeping uploading 👍👍

  • @mdfaiz027
    @mdfaiz027 Před rokem +2

    I rarely comment on any videos but this one made me comment, You've explained like an experienced person. Keep it up!

  • @piyushkumardongre5873
    @piyushkumardongre5873 Před 3 lety +2

    Liked the fluent explanation. Please show an example with sharedViewModel for F2F A2F F2A communication.

  • @aravindraj8294
    @aravindraj8294 Před 3 lety +1

    Liked your explanation, Please also make vedios on dependency injections like hilt , koin

  • @what_why_how
    @what_why_how Před 4 lety

    Sir,Can We Work With the data From API also using this?