package Ġcom . path _ studio . ad il . ui . pdf View Ċ Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġcom . google . android . gms . tasks . Task Ċ import Ġcom . path _ studio . ad il . data . Ad il Repository Ċ Ċ class ĠPdf Viewer ViewModel ( private Ġval Ġad il Repository : ĠAd il Repository ) Ġ: ĠViewModel (){ ĊĊĠĠĠ Ġprivate Ġlateinit Ġvar Ġleg is lation Id : ĠString ĊĊĠĠĠ Ġfun Ġselected Leg is lation ( leg is lation Id : ĠString ) Ġ{ ĊĠĠĠĠĠĠĠ Ġthis . leg is lation Id Ġ= Ġleg is lation Id ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġget Signed Url (): ĠTask < String > Ġ= Ġad il Repository . get Signed Url ( leg is lation Id ) Ċ }