package Ġcom . example . android . databinding . basics ample . data Ċ Ċ import Ġandroidx . lifecycle . Mutable LiveData Ċ import Ġandroidx . lifecycle . ViewModel Ċ Ċ class ĠTest ViewModel Ġ: ĠViewModel () Ġ{ ĊĠĠĠ Ġprivate Ġval Ġ_ list Items Ġ= ĠMutable LiveData < List < String >>( null ) ĊĠĠĠ Ġval Ġlist Items LiveData Ġ= Ġ_ list Items ĊĊĠĠĠ Ġfun Ġfetch List Items () Ġ= Ġ_ list Items . post Value ( listOf (" item 1 ", Ġ" item 2 ")) Ċ }