package Ġk nf . k uma . directory Ċ Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġandroidx . paging . Paging Data Ċ import Ġk nf . k uma . ret rofit . Repository Ċ import Ġkotlinx . coroutines . flow . Flow Ċ Ċ class ĠDirectory ViewModel Ġ: ĠViewModel () Ġ{ ĊĠĠĠ Ġprivate Ġval Ġrepository Ġ= ĠRepository () ĊĊĠĠĠ Ġfun Ġget An imes (): ĠFlow < Paging Data < Dir Object >> Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġrepository . get An ime Dir () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġget O vas (): ĠFlow < Paging Data < Dir Object >> Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġrepository . get O va Dir () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġget Movies (): ĠFlow < Paging Data < Dir Object >> Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġrepository . get Movie Dir () ĊĠĠĠ Ġ} Ċ } Ċ