package Ġcom . dic hes . d ich box mobile . mv . boxes DataManager . view States Ċ Ċ import Ġandroidx . lifecycle . LiveData Ċ import Ġandroidx . lifecycle . Mutable LiveData Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġcom . dic hes . d ich box mobile . datat ypes . User Container Ċ import Ġcom . dic hes . d ich box mobile . mv . Clean able Ċ Ċ abstract Ġclass ĠTemp Access Lists ViewModel Ġ: ĠViewModel (), ĠClean able Ġ{ ĊĠĠĠ Ġprivate Ġval Ġedited Added Ġ= ĠMutable LiveData < List < User Container . Found User >>() ĊĠĠĠ Ġval Ġadded : ĠLive Data < List < User Container . Found User >> Ġ= Ġedited Added ĊĊĠĠĠ Ġfun Ġset Edited Added Users ( data : ĠList < User Container . Found User >) Ġ{ ĊĠĠĠĠĠĠĠ Ġedited Added . value Ġ= Ġdata ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġclear () Ġ{ ĊĠĠĠĠĠĠĠ Ġif Ġ( edited Added . value Ġ!= Ġnull ) Ġedited Added . value Ġ= Ġempty List () ĊĠĠĠ Ġ} Ċ } Ċ Ċ class ĠEditor s Copy ViewModel Ġ: ĠTemp Access Lists ViewModel () Ċ class ĠView ers Copy ViewModel Ġ: ĠTemp Access Lists ViewModel () Ċ