package Ġru ol an . com . good sc enter . data . repository Ċ Ċ import Ġru ol an . com . base library . data . model . Base Resp Ċ import Ġru ol an . com . base library . data . net . Ret rofit Factory Ċ import Ġru ol an . com . good sc enter . data . api . Category Api Ċ import Ġru ol an . com . good sc enter . data . protocol . Category Ċ import Ġru ol an . com . good sc enter . data . protocol . Get Category Req Ċ import Ġrx . Observable Ċ import Ġjavax . inject . Inject Ċ Ċ /** Ċ Ġ* ĠCreated Ġby Ġw uy in le i Ġon Ġ 2 0 1 8 / 1 / 2 0 . Ċ Ġ* Ċ Ġ* Ġ@ function Ċ Ġ*/ Ċ class ĠCategory Res pository Ġ@ Inject Ġconstructor () Ġ{ ĊĊĊĠĠĠ Ġfun Ġget Category ( parentId : ĠInt ): ĠObservable < Base Resp < Mutable List < Category >>> Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠRet rofit Factory . instance . create ( Category Api :: class . java ). get Category ( Get Category Req ( parentId )) ĊĠĠĠ Ġ} ĊĊ Ċ }