package Ġcom . ru u vi . station . settings . ui Ċ Ċ import Ġandroidx . lifecycle . LiveData Ċ import Ġandroidx . lifecycle . Mutable LiveData Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġcom . ru u vi . station . feature . data . Feature Flag Ċ import Ġcom . ru u vi . station . feature . provider . Runtime Feature Flag Provider Ċ Ċ class ĠApp Settings Experimental ViewModel ( ĊĠĠĠ Ġprivate Ġval Ġruntime Feature Flag Provider : ĠRuntime Feature Flag Provider Ċ ): ĠViewModel () Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġnetwork Feature Ġ= ĠFeature Flag . R UU VI _ NETWORK ĊĊĠĠĠ Ġprivate Ġval Ġr uu vi Network Enabled Ġ= ĠMutable LiveData < Boolean >( runtime Feature Flag Provider . is Feature Enabled ( network Feature )) ĊĠĠĠ Ġval Ġr uu vi Network Enabled Ob serve : ĠLive Data < Boolean > Ġ= Ġr uu vi Network Enabled ĊĊĠĠĠ Ġfun Ġset R uu vi Network Enabled ( checked : ĠBoolean ) Ġ{ ĊĠĠĠĠĠĠĠ Ġruntime Feature Flag Provider . set Feature Enabled ( network Feature , Ġchecked ) ĊĠĠĠ Ġ} Ċ }