package Ġch . d re ip ol . multi platform . redux sample . shared . utils Ċ Ċ import Ġch . d re ip ol . d re im ulti platform . Platform Features Ċ import Ġch . d re ip ol . multi platform . redux sample . shared . database . Driver Factory Ċ import Ġch . d re ip ol . multi platform . redux sample . shared . redux . Redux Sample App Ċ Ċ private Ġlateinit Ġvar Ġapp Configuration : ĠApp Configuration Ċ Ċ fun Ġinit App ( app Config : ĠApp Configuration ) Ġ{ ĊĠĠĠ Ġif Ġ(:: app Configuration . isInitialized ) Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠIllegalStateException (" App ĠConfiguration Ġis Ġalready Ġinitialized ") ĊĠĠĠ Ġ} Ġelse Ġ{ ĊĠĠĠĠĠĠĠ Ġapp Configuration Ġ= Ġapp Config ĊĠĠĠ Ġ} Ċ } Ċ Ċ fun Ġget App Configuration (): ĠApp Configuration Ġ{ ĊĠĠĠ Ġreturn Ġapp Configuration Ċ } Ċ Ċ data Ġclass ĠApp Configuration ( ĊĠĠĠ Ġval Ġredux Sample App : ĠRedux Sample App , ĊĠĠĠ Ġval Ġdriver Factory : ĠDriver Factory , ĊĠĠĠ Ġval Ġplatform Features : ĠPlatform Features , Ċ ) Ġ{ ĊĠĠĠ Ġval Ġdriver Ġ= Ġdriver Factory . create Driver () Ċ }