bdawg.io
05/16/2018, 4:45 AMdave08
05/27/2018, 10:51 AMdave08
05/28/2018, 6:17 AMmbonnin
06/11/2018, 10:03 AMgenerated/source/kaptKotlin/
. It compiles fine but not having autocomplete is a bit painfull... Is there something specific to do there ?dave08
07/25/2018, 3:12 PMCasey Kulm
08/10/2018, 4:17 PMHttpUrl
in OkHttp, it seems like the docs say that it should ignore trailing slash when comparing equality, yet that’s not what I’m seeing it actually doMohamed Ebrahim
08/12/2018, 3:51 AMjw
08/16/2018, 2:21 PMjw
08/16/2018, 9:17 PMbdawg.io
08/20/2018, 4:50 PMinterface UserService {
@GET("/users")
Call<List<User>> getAll()
@GET("{nextPathAndQuery}")
Call<List<User>> getNextPage(@Path("nextPathAndQuery") pathAndQuery: String)
}
egorand
11/10/2018, 7:25 PMSuperclass::class.parameterizedBy(Int::class)
Paul Woitaschek
11/12/2018, 9:16 PMgenerateAdapter=true
on an object?dave08
11/13/2018, 1:25 PMhmole
11/17/2018, 12:23 PMPolymorphicJsonAdapterFactory
not in moshi 1.8 jar classpath?edwardwongtl
12/10/2018, 8:28 AM{
"error": 0,
"err_msg": "",
"users": [ ... ],
}
{
"error": 0,
"err_msg": "",
"movies": [ ... ],
}
The part that is common is the error
and err_msg
fields, other than that, the json-key and value can vary depending on which server api I call.
I think the way to go is a custom Adapter with @FromJson fun fromJson(reader: JsonReader): Result<T>
, but I’m struggling on the <T>
part..eric
12/10/2018, 6:09 PMalec
12/30/2018, 7:06 PMlastInsert:
SELECT last_insert_rowid();
Jan Skrasek
01/15/2019, 1:15 PMRetrofit: Add first-party Kotlin coroutine suspend support
Nikky
01/21/2019, 6:00 AMegorand
01/22/2019, 3:07 AMNikky
02/13/2019, 7:06 AMError:Kotlin: com/squareup/kotlinpoet/ClassName
i am currently trying to squeeze them for more info and a stacktrace.. but anyone got a idea of how this could happen ?Ive Vasiljevic
02/26/2019, 10:08 AMjw
02/27/2019, 6:32 PMJsonAdapter.Factory
to https://github.com/square/moshi/issues/807?jw
02/27/2019, 6:37 PMomitted
overrides should probably use get() =
to skip needing to keep a private fieldPavel.AZ
02/28/2019, 12:13 PMlouiscad
03/12/2019, 11:38 AMplugins
DSL with Gradle Kotlin DSL?
EDIT: I meant without having to specify anything in the root project classpath, but it does not seem possible as the plugin does not seem to be on gradle plugins portal. plugins { id("com.squareup.sqldelight") }
works fine.jw
03/12/2019, 1:03 PMegorand
03/15/2019, 1:05 AMcoletz
03/19/2019, 11:08 AMjw
03/19/2019, 12:01 PMjw
03/19/2019, 12:01 PMcoletz
03/19/2019, 1:25 PM