Is it possible to pass an absolute url dynamically at runtime to retrofit?
For instance, I access a Rest API that returns a list of users and for pagination an absolute url that should be used to retrieve more items:
{
"result": [
{
"id": 1,
"name": "Daniel"
},
{
"id": 2,
"name": "Michael"
},
{
"id": 3,
"name": "Chris"
}
],
"pagination": "http://www.foo.com/users?offset=3"
}
It seems that it's not supported in Retrofit https://github.com/square/retrofit/issues/333
Is there a workaround that works with just one single RestAdapter
?