// ĠCopyright Ġ( c ) Ġ 2 0 1 9 Ġ. ĠWil ber force ĠU w ad ie gw u . ĠAll ĠRights ĠReserved . Ċ Ċ package Ġcom . j ade byte . j ade player . main . common . network . image . album Ċ Ċ import Ġcom . bump tech . glide . load . model . G lide Url Ċ import Ġcom . bump tech . glide . load . model . Model Loader Ċ import Ġcom . j ade byte . j ade player . main . common . network . image . ImageUrl Loader Ċ import Ġjava . io . InputStream ĊĊ Ċ /** Ċ Ġ* ĠCreated Ġby ĠWil ber force Ġon Ġ 2 0 1 9 - 0 9 - 1 5 Ġat Ġ 1 6 : 0 0 . Ċ Ġ*/ Ċ abstract Ġclass ĠBase Album Loader < A >( concrete Loader : ĠModel Loader < G lide Url , ĠInputStream >) Ġ: ĊĠĠĠ ĠImage Url Loader < A >( concrete Loader ) Ġ{ ĊĠĠĠ Ġfinal Ġoverride Ġvar Ġlast Fm Url Key : ĠString Ġ= Ġ" album " ĊĠĠĠ Ġfinal Ġoverride Ġvar Ġspot ify Url Key : ĠString Ġ= Ġ" albums " ĊĊĠĠĠ Ġfinal Ġoverride Ġfun ĠgetLast Fm Params ( model : ĠA ): ĠMap < String , ĠString >? Ġ= ĊĠĠĠĠĠĠĠ Ġmap Of ( Pair (" method ", Ġ" album . get info "), ĠPair (" artist ", Ġartist ( model )), ĠPair (" album ", Ġalbum ( model ))) ĊĊĠĠĠ Ġfinal Ġoverride Ġfun Ġget Spot ify Fm Params ( model : ĠA ): ĠMap < String , ĠString >? Ġ= ĊĠĠĠĠĠĠĠ Ġmap Of ( Pair (" q ", ĠString . format (" album :% s Ġartist :% s ", Ġalbum ( model ), Ġartist ( model ))), ĠPair (" type ", Ġ" album ")) ĊĊĠĠĠ Ġabstract Ġfun Ġartist ( a : ĠA ): ĠString ĊĊĠĠĠ Ġabstract Ġfun Ġalbum ( a : ĠA ): ĠString Ċ }