package Ġcom . yo es uv . inf omal ang bat u . menu . other . view models Ċ Ċ import Ġandroidx . lifecycle . Mutable LiveData Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġandroid . content . Context Ċ import Ġcom . yo es uv . inf omal ang bat u . R Ċ import Ġcom . yo es uv . inf omal ang bat u . menu . other . models . Library Model Ċ Ċ class ĠChild Fragment Libraries ViewModel : ĠViewModel () Ġ{ ĊĊĠĠĠ Ġprivate Ġvar Ġlist Libraries : ĠMutable List < Library Model > Ġ= Ġmutable ListOf () ĊĠĠĠ Ġvar Ġlist Data : ĠMutable LiveData < Mutable List < Library Model >> Ġ= ĠMutable LiveData () ĊĊĠĠĠ Ġfun Ġsetup Data ( context : ĠContext ){ ĊĠĠĠĠĠĠĠ Ġlist Libraries . clear () ĊĠĠĠĠĠĠĠ Ġlist Libraries . add ( Library Model ( context . getString ( R . string . ao sp ), Ġcontext . getString ( R . string . ao sp _ url ), Ġcontext . getString ( R . string . ao sp _ license ), Ġfalse )) ĊĠĠĠĠĠĠĠ Ġlist Libraries . add ( Library Model ( context . getString ( R . string . google _ direction ), Ġcontext . getString ( R . string . google _ direction _ url ), Ġcontext . getString ( R . string . google _ direction _ license ), Ġfalse )) ĊĠĠĠĠĠĠĠ Ġlist Libraries . add ( Library Model ( context . getString ( R . string . glide ), Ġcontext . getString ( R . string . glide _ url ), Ġcontext . getString ( R . string . glide _ license ), Ġfalse )) ĊĠĠĠĠĠĠĠ Ġlist Libraries . add ( Library Model ( context . getString ( R . string . icons 8 ), Ġcontext . getString ( R . string . icons 8 _ url ), Ġcontext . getString ( R . string . icons 8 _ license ), Ġfalse )) ĊĠĠĠĠĠĠĠ Ġlist Libraries . add ( Library Model ( context . getString ( R . string . okhttp ), Ġcontext . getString ( R . string . okhttp _ url ), Ġcontext . getString ( R . string . okhttp _ license ), Ġfalse )) ĊĠĠĠĠĠĠĠ Ġlist Libraries . add ( Library Model ( context . getString ( R . string . ret rofit ), Ġcontext . getString ( R . string . ret rofit _ url ), Ġcontext . getString ( R . string . ret rofit _ license ), Ġfalse )) ĊĠĠĠĠĠĠĠ Ġlist Libraries . add ( Library Model ( context . getString ( R . string . sdp _ android ), Ġcontext . getString ( R . string . sdp _ android _ url ), Ġcontext . getString ( R . string . sdp _ android _ license ), Ġfalse )) ĊĠĠĠĠĠĠĠ Ġlist Libraries . add ( Library Model ( context . getString ( R . string . s sp _ android ), Ġcontext . getString ( R . string . s sp _ android _ url ), Ġcontext . getString ( R . string . sdp _ android _ license ), Ġfalse )) ĊĠĠĠĠĠĠĠ Ġlist Libraries . add ( Library Model ( context . getString ( R . string . toast y ), Ġcontext . getString ( R . string . toast y _ url ), Ġcontext . getString ( R . string . toast y _ license ), Ġtrue )) ĊĠĠĠĠĠĠĠ Ġlist Data . value Ġ= Ġlist Libraries ĊĠĠĠ Ġ} Ċ Ċ }