commit | eb4fea1a36ee6edc93bf9eb9848eb6be519b8c75 | [log] [tgz] |
---|---|---|
author | Chaohui Wang <chaohuiw@google.com> | Tue Jun 13 17:08:33 2023 +0800 |
committer | Chaohui Wang <chaohuiw@google.com> | Wed Jun 14 12:22:12 2023 +0800 |
tree | b8d45c53ac35754715a92f4b783ed2338b83b7df | |
parent | f2f899106d36faa33abd90d944e0d8d20ac78bd5 [diff] |
Call onViewCreated in DashboardFragment To let fragment's view lifecycle owner passed in to controllers. For UI usage, view lifecycle owner is the best choice, controller could use this lifecycle owner to observe events and do UI related works. Usage DataSaverController as first example. Bug: 287005021 Test: Manually for DataSaverController Change-Id: Id965ea3a24d61f4d0ec6735632944f41f72ba06a