package Ġcom . ram cost a . samples . destination st od os ample Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . activity . Component Activity Ċ import Ġandroidx . activity . compose . setContent Ċ import Ġandroidx . compose . runtime . Composition Local Provider Ċ import Ġandroidx . compose . runtime . static Composition Local Of Ċ import Ġcom . ram cost a . samples . destination st od os ample . di . Dependency Container Ċ Ċ val ĠLocal Dependency Container Ġ= Ġstatic Composition Local Of < Dependency Container > Ġ{ ĊĠĠĠ Ġerror (" No Ġdependency Ġcontainer Ġprovided !") Ċ } Ċ Ċ class ĠMainActivity Ġ: ĠComponent Activity () Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġdependency Container Ġ= ĠDependency Container () ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĊĠĠĠĠĠĠĠ Ġset Content Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠComp osition Local Provider ( Local Dependency Container Ġprovides Ġdependency Container ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠDest inations Sample App () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }