package Ġcom . jin woo . with github . domain . use case Ċ Ċ import Ġcom . jin woo . with github . domain . entity . Repo Entity Ċ import Ġcom . jin woo . with github . domain . base . UseCase Ċ import Ġcom . jin woo . with github . domain . repository . user . UserRepository Ċ import Ġio . reactivex . Flow able Ċ Ċ class ĠGetUser Repo List UseCase ( val Ġrepository : ĠUser Repository ): ĠUse Case < String , ĠArrayList < Repo Entity >>() Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġcreate Single ( data : ĠString ): ĠFlow able < ArrayList < Repo Entity >> ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ= Ġrepository . getUser Repo List ( data ) ĊĊĠĠĠ Ġfun ĠgetUser Repo List ( userName : ĠString ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ= Ġcreate Single ( userName ) Ċ }