jw
06/24/2019, 2:36 PMResponse<Unit?>
and just ignore itPaul Woitaschek
06/24/2019, 2:39 PMjw
06/24/2019, 2:39 PMjw
06/24/2019, 2:40 PMjw
06/24/2019, 2:40 PMPaul Woitaschek
06/24/2019, 2:54 PMUnit?
as the response type didnt work as well. Also Void
and Void?
didnt work. I'm using Response<Unit?>
and manual re-throw the exception, but it feels really weird using it like this. Should I open an issue for this?jw
06/24/2019, 2:56 PMjw
06/24/2019, 2:56 PMlouiscad
06/24/2019, 4:37 PMCall<Void?>
+ await()
in the meantime.Paul Woitaschek
06/28/2019, 10:26 AMJeremy
07/01/2019, 6:57 PMIve Vasiljevic
07/02/2019, 9:05 PMjw
07/02/2019, 9:40 PMkevin.cianfarini
07/06/2019, 10:55 PMkevin.cianfarini
07/07/2019, 4:35 PMsuspend
is to have some sort of database manager that wraps all calls in withContext
right? Or is there something that I've missed that's betterkevin.cianfarini
07/16/2019, 2:52 AMAsyncListUtil
the preferred method?dimsuz
07/16/2019, 6:10 PMOkio.buffer(Okio.source(context.assets.open("countries.json"))).use {
adapter.fromJson(it)
}
close all intermediate closables? InputStream, source, buffer.jw
07/16/2019, 6:11 PMmathew murphy
07/17/2019, 4:07 PMmathew murphy
07/17/2019, 4:08 PMMoshi
object, I can ask Moshi to create an adaptor for some random custom class, as per the README:
val moshi = Moshi.Builder().build();
val jsonAdapter = moshi.adapter(BlackjackHand::class.java);
mathew murphy
07/17/2019, 4:08 PMval moshi = Moshi.Builder()
.add(ZonedDateTimeAdapter)
.add(BigDecimalAdapter)
.build()
Paul Woitaschek
07/18/2019, 10:07 AM@Json
representation?kartoffelsup
07/18/2019, 1:57 PMjw
07/18/2019, 1:58 PMjw
07/18/2019, 4:05 PMPaul Woitaschek
07/18/2019, 4:07 PMjw
07/18/2019, 4:08 PMjw
07/18/2019, 4:08 PM@Json
jw
07/18/2019, 4:08 PM@Json
jw
07/18/2019, 4:09 PM@Json
annotation and returns its value