package Ġcom . v imal . core . models Ċ Ċ import Ġandroidx . lifecycle . LiveData Ċ import Ġandroidx . lifecycle . Mutable LiveData Ċ import Ġcom . v imal . core . view model . Base ViewModel Ċ Ċ class ĠBase Activity ViewModel Ġ: ĠBase ViewModel () Ġ{ ĊĊĠĠĠ Ġprivate Ġval ĠactionPerformed LiveData Ġ= ĠMutable LiveData < Event < Action >>() ĊĠĠĠ Ġval ĠactionPerformed : ĠLive Data < Event < Action >> Ġ= ĠactionPerformed LiveData ĊĊĠĠĠ Ġfun ĠactionPerformed ( actions : ĠAction ) Ġ{ ĊĠĠĠĠĠĠĠ ĠactionPerformed LiveData . value Ġ= ĠEvent ( actions ) ĊĠĠĠ Ġ} Ċ }