package Ġcom . mo ham mad f ay az . hn . domain . use cases . stories . show Ċ Ċ import Ġandroidx . paging . Paging Data Ċ import Ġcom . mo ham mad f ay az . hn . data . repository . Show St ories Repo Ċ import Ġcom . mo ham mad f ay az . hn . domain . models . Story Model Ċ import Ġcom . mo ham mad f ay az . hn . domain . use cases . Base UseCase Ċ import Ġkotlinx . coroutines . flow . Flow Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠShow Story Pagination UseCase Ġ@ Inject Ġconstructor ( private Ġval Ġrepo : ĠShow St ories Repo ) Ġ: ĊĠ ĠBase UseCase () Ġ{ ĊĠ Ġfun Ġinvoke ( ids List : ĠList < Int >): ĠFlow < Paging Data < Story Model >> Ġ{ ĊĠĠĠ Ġreturn Ġrepo . get Pag inated Flow ( ids List ) ĊĠ Ġ} Ċ } Ċ