/* Ċ Ġ* Ċ Ġ* ĠCopyright Ġ( c ) ĠMicrosoft ĠCorporation . ĠAll Ġrights Ġreserved . Ċ Ġ* ĠLicensed Ġunder Ġthe ĠMIT ĠLicense . Ċ Ġ* Ċ Ġ*/ Ċ Ċ package Ġcom . microsoft . device . samples . dual screen experience . data . catalog . remote Ċ Ċ import Ġandroid . content . res . Asset Manager Ċ import Ġcom . google . gson . Gson Ċ import Ġcom . microsoft . device . samples . dual screen experience . config . Remote DataSource Config Ċ import Ġcom . microsoft . device . samples . dual screen experience . data . catalog . Catalog DataSource Ċ import Ġcom . microsoft . device . samples . dual screen experience . data . catalog . model . Catalog Item Entity Ċ import Ġcom . microsoft . device . samples . dual screen experience . data . catalog . model . Catalog ItemList Ċ import Ġcom . microsoft . device . samples . dual screen experience . data . get Json Data From Asset Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠCatalog Remote DataSource Ġ@ Inject Ġconstructor ( ĊĠĠĠ Ġprivate Ġval Ġasset Manager : ĠAsset Manager , ĊĠĠĠ Ġprivate Ġval Ġgson : ĠGson Ċ ) Ġ: ĠCatalog DataSource Ġ{ ĊĊĠĠĠ Ġoverride Ġsuspend Ġfun ĠgetAll (): ĠList < Catalog Item Entity > Ġ= ĊĠĠĠĠĠĠĠ Ġgson . fromJson ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġget Json Data From Asset ( asset Manager , ĠRemote DataSource Config . catalog Items FileName ), ĊĠĠĠĠĠĠĠĠĠĠĠ ĠCatalog ItemList :: class . java ĊĠĠĠĠĠĠĠ Ġ). catalog Items Ċ } Ċ