jw
02/06/2019, 7:33 PMburak.eregar
02/07/2019, 3:55 PM"colour": "red"
& "colour":"black"
. As HashMap doesn't allow to have duplications, I am not sure how I can achieve this issue.
@GET("v2/mobile/products/")
@Headers(AUTHORIZATION_HEADER)
Observable<ProductResult> searchProductsV2(
@Query("searchTerm") String search,
@Query("sort") String sort,
@Query("page[number]") Integer pageNumber,
@QueryMap Map<String, String> filterFacets
);
burak.eregar
02/07/2019, 3:56 PMDominaezzz
02/07/2019, 7:23 PMkotlinx.interop.CValuesRef<Int>
by doing ClassName("kotlinx.cinterop", "CValuesRef").parameterizedBy(INT)
but how can I create kotlinx.interop.CValuesRef<*>
?jw
02/07/2019, 7:26 PMjw
02/07/2019, 7:27 PMSTAR
as a top-level propertyDominaezzz
02/07/2019, 7:28 PMeric
02/07/2019, 7:28 PMburak.eregar
02/08/2019, 9:53 AMnil2l
02/13/2019, 8:28 PM@AuthRequired
custom annotation. And want to add accessToken
query param to all such Calls in Interceptor.eric
02/13/2019, 8:31 PMnil2l
02/13/2019, 8:33 PMeric
02/13/2019, 8:33 PMeric
02/13/2019, 8:34 PMnil2l
02/13/2019, 8:36 PMeric
02/13/2019, 8:38 PMnil2l
02/19/2019, 4:19 PMjw
02/19/2019, 4:20 PMnil2l
02/19/2019, 4:24 PMenqueue
or execute
— it will (1) produce “final URL” but also will (2) make the call. But I want only 1-st one.
Something like
fun Call<*>.getUrl(): String = TODO()
nil2l
02/19/2019, 4:26 PMjw
02/19/2019, 4:29 PMrequest().url()
on a Call
jw
02/19/2019, 4:30 PMjw
02/19/2019, 4:31 PMnil2l
02/19/2019, 4:37 PMclass SomeBaseClass() { fun injectAccessToken(request: Request): Request
Paul Woitaschek
02/25/2019, 4:13 PMPaul Woitaschek
02/25/2019, 4:14 PMalec
02/25/2019, 4:37 PMalec
02/25/2019, 4:38 PMbdawg.io
02/25/2019, 10:16 PMinterface MyService {
@POST("some-endpoint/{id}/foo")
suspend fun foo(
@Path("id") id: Int,
@Body payload: FooPayload = createDefaultPayload()
): FooResult
}