package Ġwa he ed . kotlin mv vm . tabs . view model dat ash aring . view Models Ċ Ċ import Ġandroidx . lifecycle . LiveData Ċ import Ġandroidx . lifecycle . Mutable LiveData Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġwa he ed . kotlin mv vm . tabs . view model dat ash aring . utils . Single Live Event Ċ Ċ /** Ċ Ġ* ĠCreated Ġby ĠW a he ed Ġon Ġ 2 6 , November , 2 0 1 9 Ċ Ġ*/ Ċ Ċ class ĠViewModel Complete Info Ġ: ĠViewModel () Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġ_ clear All Data Ġ= ĠMutable LiveData < Single Live Event < Boolean >>() ĊĠĠĠ Ġval Ġclear All Data : ĠLive Data < Single Live Event < Boolean >> Ġ= Ġ_ clear All Data ĊĊĠĠĠ Ġfun Ġclear All Data () Ġ{ ĊĠĠĠĠĠĠĠ Ġ_ clear All Data . value Ġ= ĠSingle Live Event ( true ) ĊĠĠĠ Ġ} Ċ }