package Ġt aiwan . no 1 . app . ss fm . models . use cases Ċ Ċ import Ġio . reactivex . Observable Ċ import Ġt aiwan . no 1 . app . ss fm . models . data . I DataStore Ċ import Ġt aiwan . no 1 . app . ss fm . models . entities . last fm . Album Entity Ċ import Ġt aiwan . no 1 . app . ss fm . models . use cases . Get Album Info Use case . Request Value Ċ Ċ /** Ċ Ġ* Ġ@ author Ġ Ġji ey i Ċ Ġ* Ġ@ since ĠĠĠ 1 0 / 1 1 / 1 7 Ċ Ġ*/ Ċ class ĠGet Album Info Use case ( repository : ĠI DataStore ) Ġ: ĠBase Use case < Album Entity , ĠRequest Value >( repository ) Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġfetch Use case (): ĠObservable < Album Entity > Ġ= ĊĠĠĠĠĠĠĠ Ġ( parameters Ġ?: ĠRequest Value ()). let Ġ{ Ġrepository . get Album Info ( it . artist , Ġit . album Or M bid ) Ġ} ĊĊĠĠĠ Ġdata Ġclass ĠRequest Value ( val Ġartist : ĠString Ġ= Ġ"", Ġval Ġalbum Or M bid : ĠString Ġ= Ġ"") Ġ: ĠRequest Values Ċ }