package Ġcom . inter view . saf eb oda . activities . airport . view model ĊĊ Ċ import Ġandroidx . lifecycle . LiveData Ċ import Ġandroidx . lifecycle . Mutable LiveData Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġcom . inter view . saf eb oda . model Layer . model . airport . Air port Ċ Ċ class ĠAir port ViewModel : ViewModel (){ ĊĊĠĠĠ Ġprivate Ġval Ġdepart ure Air port Ġ= ĠMutable LiveData < Air port >() ĊĠĠĠ Ġprivate Ġval Ġar ival Air port Ġ= ĠMutable LiveData < Air port >() ĊĊĊĠĠĠ Ġval Ġdepart ure LiveData : ĠLive Data < Air port > ĊĠĠĠĠĠĠĠ Ġget () Ġ= Ġdepart ure Air port ĊĊĊĊĠĠĠ Ġval Ġar rival LiveData : LiveData < Air port > ĊĠĠĠĠĠĠĠ Ġget () Ġ= Ġar ival Air port ĊĊĊĠĠĠ Ġfun Ġset depart ure ( depart ure : ĠAir port ) Ġ{ ĊĠĠĠĠĠĠĠ Ġdepart ure Air port . value Ġ= Ġdepart ure ĊĠĠĠ Ġ} ĊĊĊĠĠĠ Ġfun Ġset arrival Air pot ( arrival : Air port ){ ĊĠĠĠĠĠĠĠ Ġar ival Air port . value Ġ= Ġar rival ĊĠĠĠ Ġ} ĊĊ Ċ }