package Ġcom . power in code . question naire _ app . screens ._ base . view model Ċ Ċ import Ġandroid . arch . lifecycle . LiveData Ċ import Ġandroid . arch . lifecycle . Mutable LiveData Ċ import Ġcom . power in code . question naire _ app . core . li ved ata . Live Event Ċ import Ġcom . power in code . question naire _ app . core . li ved ata . Mutable Live Event Ċ Ċ /** Ċ Ġ* ĠCreated Ġby Ġpower man 2 3 rus Ġon Ġ 1 2 / 0 2 / 2 0 1 9 . Ċ Ġ*/ Ċ abstract Ġclass ĠState ViewModel < T State Ġ: ĠAny , ĠT Navigation Ġ: ĠAny > Ġ: ĠBase ViewModel () Ġ{ ĊĠĠĠ Ġprotected Ġval Ġ_ state Ġ: ĠMutable LiveData < T State > Ġ= ĠMutable LiveData () ĊĠĠĠ Ġval Ġstate Ġ: ĠLive Data < T State > Ġ= Ġ_ state ĊĊĠĠĠ Ġprotected Ġval Ġ_ navigation Ġ: ĠMutable Live Event < T Navigation > Ġ= ĠMutable Live Event () ĊĠĠĠ Ġval Ġnavigation Ġ: ĠLive Event < T Navigation > Ġ= Ġ_ navigation Ċ }