package Ġru . surf studio . android . file storage . sample . inter actor . ip . cache Ċ Ċ import Ġru . surf studio . android . d agger . scope . Per Application Ċ import Ġru . surf studio . android . file storage . storage . Base Json File Storage Ċ import Ġru . surf studio . android . file storage . sample . domain . ip . Ip Ċ import Ġjavax . inject . Inject Ċ Ċ @ Per Application Ċ class ĠIp Json Storage Wrapper Ġ@ Inject Ġconstructor ( ĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġip Json File Storage : ĠBase Json File Storage < Ip >) Ġ{ ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval ĠKEY _ IP _ JSON _ STORAGE Ġ= Ġ" ip _ json _ storage " ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġsave Ip ( ip : ĠIp ) Ġ= Ġip Json File Storage . put ( KEY _ IP _ JSON _ STORAGE , Ġip ) ĊĊĠĠĠ Ġfun Ġget Ip (): ĠIp ? Ġ= Ġip Json File Storage . get ( KEY _ IP _ JSON _ STORAGE ) ĊĊĠĠĠ Ġfun Ġclear () Ġ= Ġip Json File Storage . clear () Ċ }