package Ġcom . kal ai . cue des . entry . on board Ċ Ċ import Ġandroidx . lifecycle . LiveData Ċ import Ġandroidx . lifecycle . Mutable LiveData Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġjava . util .* Ċ Ċ class ĠOn Board ViewModel Ġ: ViewModel (){ ĊĠĠĠ Ġprivate Ġval Ġ Ġ_ is Page Navigation View able Ġ= ĠMutable LiveData < Enum Map < Page Content , Boolean >>( Enum Map ( Page Content :: class . java )) ĊĊĠĠĠ Ġval Ġis Page Navigation View able : ĠLive Data < Enum Map < Page Content , Boolean >> get () Ġ= Ġ_ is Page Navigation View able ĊĊĠĠĠ Ġfun Ġupdate Is Page Navigation View able ( fragment Key : Page Content , value : Boolean ){ ĊĠĠĠĠĠĠĠ Ġval Ġmap Ġ= Ġ_ is Page Navigation View able . value ĊĠĠĠĠĠĠĠĠĠĠĠ Ġmap ?. run Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġput ( fragment Key , value ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ_ is Page Navigation View able . value Ġ= Ġthis Ġ} ĊĊĠĠĠ Ġ} Ċ }