package Ġcom . h ho ang . scr ump oker . model Ċ Ċ import Ġandroidx . lifecycle . Mutable LiveData Ċ import Ġandroidx . lifecycle . ViewModel Ċ Ċ class ĠScr um Poker ViewModel Ġ: ĠViewModel () Ġ{ ĊĠĠĠ Ġvar Ġcard Score : ĠString Ġ= Ġ" infinity " ĊĠĠĠ Ġvar Ġs izing Mode : ĠMutable LiveData < S izing Mode > Ġ= ĠMutable LiveData ( S izing Mode . PO KER _ CARD ) ĊĠĠĠ Ġvar Ġview Mode : ĠMutable LiveData < View Mode > Ġ= ĠMutable LiveData ( View Mode . GRID ) ĊĠĠĠ Ġvar Ġdark Theme Mode : ĠMutable LiveData < Boolean > Ġ= ĠMutable LiveData ( false ) ĊĊĠĠĠ Ġfun Ġset View Mode ( mode : ĠView Mode ) Ġ{ ĊĠĠĠĠĠĠĠ Ġview Mode . value Ġ= Ġmode ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġset S izing Mode ( mode : ĠS izing Mode ) Ġ{ ĊĠĠĠĠĠĠĠ Ġs izing Mode . value Ġ= Ġmode ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġset Dark Theme Mode ( dark Mode : ĠBoolean ) Ġ{ ĊĠĠĠĠĠĠĠ Ġdark Theme Mode . value Ġ= Ġdark Mode ĊĠĠĠ Ġ} Ċ }