Network call are made like this
@GET("/api/video/{slug}/show")
void getVideoData(@Path("slug") String slug,Callback<VideoContainerGSON>cb);
Now I need to add wariable path before "/api" e.g:
/en/api/video/{slug}/show
Or
/sp/video/{slug}/show
That parameter is global wide, so without setting alteration all network call will use same language path.
Question: Is there a way to alter it without method signature or I must change method signature to
@GET("/{lang}/api/video/{slug}/show")
void getVideoData(@Path("lang") String lang, @Path("slug") String slug,Callback<VideoContainerGSON>cb);