Day70 of #100DaysOfCode

Day70 of #100DaysOfCode

Hii folks 🙌

Today I will be continuing the same pathway in which we’ll learn and use the LiveData with ViewModel.

Unit 3: Navigation

Pathway 2: Architecture componentsSource

https://developer.android.com/courses/android-basics-kotlin/course

LiveData is an observable data holder class that is lifecycle-aware.

Some characteristics of LiveData:

  • LiveData holds data; LiveData is a wrapper that can be used with any type of data.
  • LiveData is observable, which means that an observer is notified when the data held by the LiveData object changes.
  • LiveData is lifecycle-aware. When we attach an observer to the LiveData, the observer is associated with a LifecycleOwner (usually an activity or fragment). The LiveData only updates observers that are in an active lifecycle state such as STARTED or RESUMED.
  • Tomorrow we will implement the liveData to the current Scrambled word.

That is all for Day70 ✅

Thanks for reading, See you tomorrow!

If you are reading my #100Days Journey, feel free to drop by ;)

--

--

--

https://www.linkedin.com/in/itskushagra

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Flutter — Share Option

Android Edge to Edge 101

How to create custom RecyclerView adapter with multiple view items?

Shard your Android Espresso tests for faster execution in parallel

Using type-safe project dependencies on Gradle

Video Editor — powered by FFmpeg Android

Integrate Social Media with Android app: Twitter: 2/3

Setup Flutter: IDE Configuration — Android

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store

Kushagra Kesav

https://www.linkedin.com/in/itskushagra

More from Medium

Day82 of #100DaysOfCode

Day75 of #100DaysOfCode

Day79 of #100DaysOfCode

Day76 of #100DaysOfCode