package Ġapp . me lon . user Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroidx . fragment . app . Fragment Ċ import Ġapp . me lon . account . api . User Manager Ċ import Ġapp . me lon . user . api . I UserService Ċ import Ġapp . me lon . user . api . Near by UserList Ċ import Ġapp . me lon . user . api . UserList Config Ċ import Ġapp . me lon . user . near by . Near by UserList Fragment Ċ import Ġapp . me lon . user . ui . Common User Fragment Ċ import Ġjavax . inject . Inject Ċ import Ġjavax . inject . Singleton ĊĊ Ċ @ Singleton Ċ class ĠUserService Ġ@ Inject Ġconstructor ( ĊĠĠĠ Ġprivate Ġval Ġuser Manager : ĠUser Manager Ċ ) Ġ: ĠI UserService Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġnavigate To UserProfile ( context : ĠContext , Ġuid : ĠString ) Ġ{ ĊĠĠĠĠĠĠĠ ĠProfile Activity . start ( context , Ġuid ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġnavigate To Follow ers List ( context : ĠContext , Ġuid : ĠString ) Ġ{ ĊĠĠĠĠĠĠĠ ĠFollow ers Activity . start ( context , Ġuid ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġnavigate To Following List ( context : ĠContext , Ġuid : ĠString ) Ġ{ ĊĠĠĠĠĠĠĠ ĠFollowing Activity . start ( context , Ġuid ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġnavigate To My Profile ( context : ĠContext ) Ġ{ ĊĠĠĠĠĠĠĠ ĠProfile Activity . start ( context , Ġuser Manager . user !!. id ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġbuild UserList Fragment ( config : ĠUser List Config ): ĠFragment Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġwhen Ġ( config ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠN ear by UserList Ġ-> ĠN ear by UserList Fragment . newInstance () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġelse Ġ-> ĠCommon User Fragment . newInstance ( config ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }