Use of LiveData in JetPack

1. Background Like its name, LiveData is an observable data holder. Unlike conventional observable, LiveData has life cycle awareness, which means that it can correctly handle the life cycle in activities, fragments and services. The data source of LiveData is generally ViewModel, or other components that can update LiveData. When the data ...

Posted by gary00ie on Fri, 03 Sep 2021 22:02:48 -0700