package Ġcom . lazy so ul . kotlin with android . injection . components Ċ Ċ import Ġandroid . content . SharedPreferences Ċ import Ġcom . lazy so ul . kotlin with android . Kotlin With Android Ċ import Ġcom . lazy so ul . kotlin with android . injection . module . Application Module Ċ import Ġdagger . Component Ċ import Ġjavax . inject . Singleton Ċ Ċ /** Ċ Ġ* ĠCreated Ġby ĠLazy so ul Ġon Ġ 2 0 1 7 . Ġ 7 . Ġ 1 7 .. Ċ Ġ*/ Ċ Ċ @ Singleton Ċ @ Component ( modules Ġ= ĠarrayOf ( Application Module :: class )) Ċ interface ĠApplication Component Ġ{ ĊĊĠĠĠ Ġfun Ġin jet ( kotlin With Android : ĠKotlin With Android ) ĊĊĠĠĠ Ġval Ġshared Preferences : ĠSharedPreferences ĊĊĠĠĠ Ġval Ġeditor : ĠSharedPreferences . Editor Ċ } Ċ