Glimpse: Use SharedFlow in ViewModels

Since we collect data using the Lifecycle State as
a trigger using a SharedFlow is (one of) the optimal
way to emit updates.

Change-Id: Ib69b6790e52fa5e05181ebce078c72a5a7314598
7 files changed