package Ġcom . bb go . module _ square . repository Ċ Ċ import Ġcom . bb go . common _ base . bean . Http Result Ċ import Ġcom . bb go . common _ base . net . Service Creators Ċ import Ġcom . bb go . module _ square . bean . Article Data Ċ import Ġcom . bb go . module _ square . net . api . Http Square ApiService Ċ import Ġdagger . h ilt . android . scopes . Activity Ret ained Scoped Ċ import Ġkotlinx . coroutines . flow . Flow Ċ import Ġjavax . inject . Inject Ċ Ċ /** Ċ Ġ* Ġ Ġauthor : Ġw ang yb Ċ Ġ* Ġ Ġdate : Ġ 3 / 3 0 / 2 1 Ġ 2 : 3 5 ĠPM Ċ Ġ* Ġ Ġdescription : Ġtodo Ċ Ġ*/ Ċ @ Activity Ret ained Scoped Ċ class ĠSquare Remote Repository Ġ@ Inject Ġconstructor (){ ĊĊĠĠĠ Ġprivate Ġval Ġservice Ġ= ĠService Creators . create ( Http Square ApiService :: class . java ) ĊĊĠĠĠ Ġfun Ġget Square List ( pageNum : ĠInt ) Ġ: ĠFlow < Http Result < Article Data >> Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġservice . get Square List ( pageNum ) ĊĠĠĠ Ġ} Ċ }