package Ġc afe . ad riel . gw ent wall papers . presentation . internal . k tx Ċ Ċ import Ġandroid . net . Connectivity Manager Ċ import Ġandroid . net . Network Ċ Ċ internal Ġfun Ġget Network Callback ( onChange : Ġ( connected : ĠBoolean ) Ġ-> ĠUnit ): ĠConnect ivity Manager . Network Callback Ġ= ĊĠĠĠ Ġobject Ġ: ĠConnect ivity Manager . Network Callback () Ġ{ ĊĠĠĠĠĠĠĠ Ġoverride Ġfun Ġon Available ( network : ĠNetwork ) Ġ= ĠonChange ( true ) ĊĊĠĠĠĠĠĠĠ Ġoverride Ġfun Ġon Lost ( network : ĠNetwork ) Ġ= ĠonChange ( false ) ĊĠĠĠ Ġ} Ċ