package Ġcom . bat tag li and rea . mar vel api . feature . splash . di Ċ Ċ import Ġandroid . app . Application Ċ import Ġcom . bat tag li and rea . mar vel api . Mar vel Api Application Ċ Ċ object ĠSpl ash Injector Ġ{ ĊĊĠĠĠ Ġfun Ġinitialize ( application Context : ĠApplication ) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġcore Component Ġ= Ġ( application Context Ġas ? ĠMar vel Api Application )?. core Component ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ?: Ġthrow ĠIllegalStateException (" Provider Ġnot Ġimplemented : Ġ$ application Context ") ĊĊĠĠĠĠĠĠĠ Ġval Ġfeature Component Ġ= ĠD agger Splash Component ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. factory () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. create ( core Component ) ĊĠĠĠĠĠĠĠ ĠSpl ash Component . INSTANCE Ġ= Ġfeature Component ĊĠĠĠ Ġ} Ċ } Ċ