package Ġes . np atar ino . android . got challenge . data . use case Ċ Ċ import Ġes . np atar ino . android . got challenge . data . model . Character Ċ import Ġes . np atar ino . android . got challenge . data . repository . Characters Repository Ċ import Ġio . reactivex . Observable Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠChar acters By Query UseCase Ġ@ Inject Ġconstructor ( private Ġval Ġcharacters Repository : ĠChar acters Repository ) Ġ{ ĊĠĠĠ Ġfun Ġget Character By Query ( query : ĠString ): ĠObservable < ArrayList < Character >> Ġ= ĊĠĠĠĠĠĠĠ Ġcharacters Repository . get Character By Query ( query ) Ċ }