package Ġby . st . crypto . sdk Ċ Ċ import Ġby . st . crypto . sdk . tools . conc uren cy . Background Ċ import Ġby . st . k mm . sdk . domain . currency . Crypto Currency Model Ċ import Ġkotlinx . coroutines . Global Scope Ċ import Ġkotlinx . coroutines . Internal Cor outines Api Ċ import Ġkotlinx . coroutines . flow . Mutable State Flow Ċ import Ġkotlinx . coroutines . flow . State Flow Ċ import Ġkotlinx . coroutines . launch Ċ Ċ class ĠCrypto ViewModel ( private Ġval Ġcrypto SDK Protocol : ĠCrypto SDK Protocol ) Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġ_ count State Ġ= ĠMutable State Flow < List < Crypto Currency Model >>( mutable ListOf ()) ĊĠĠĠ Ġval Ġcount State : ĠState Flow < List < Crypto Currency Model >> Ġ= Ġ_ count State ĊĊĠĠĠ Ġ@ Internal Cor outines Api ĊĠĠĠ Ġfun Ġload C urrencies ( count : ĠInt ) Ġ{ ĊĠĠĠĠĠĠĠ ĠGlobal Scope . launch ( Background ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġcrypto SDK Protocol . getC rypto C urrencies List ( count ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } ĊĊ