leodeleon
02/16/2020, 9:06 AMBackstackScreen
)
Is there a way to abstract this concept when modelling the renderings. When do I know I can/need to create a different screen rendering type, and how should I go about it in a way that exposes itself to Android later? Examples are PanelContainerScreen
and ScrimContainerScreen
.
https://github.com/square/workflow/tree/4172907790c30385c8b57b5f3009351ff4d50cc8/kotlin/samples/containers/common/src/main/java/com/squareup/sample/container/panel
In other words, how should one model rendering types and how to make sense of it in the context of a workflow?dave08
03/02/2020, 2:25 PMmyanmarking
03/04/2020, 1:50 PMvinay
03/04/2020, 8:56 PMColton Idle
03/05/2020, 4:26 PMDariusz Kuc
03/08/2020, 4:06 AMjw
03/10/2020, 2:42 AMsuspend fun(): BodyType
you may also get HttpExceptioncoletz
03/13/2020, 5:12 PMnear "transaction": syntax error in "CREATE TABLE IF NOT EXISTS transaction (
id TEXT PRIMARY KEY NOT NULL,
organizationId TEXT NOT NULL,
origin_wallet_id TEXT,
destination_wallet_id TEXT NOT NULL,
amount INTEGER NOT NULL,
currency_date TEXT NOT NULL,
acknowledge_date TEXT,
acknowledge_message TEXT,
user_message TEXT,
competence_id TEXT
)"
attempted to run migration and failed. closing connection.
is there something wrong in the query? maybe something not supported on iOS? Everything seems fine to me...Dariusz Kuc
03/16/2020, 7:44 PM@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "__typename")
@JsonSubTypes(value = [
Type(value = Car::class, name = "Car"),
Type(value = Plane::class, name = "Plane")])
interface Vehicle {
louiscad
03/18/2020, 9:43 AMlocke
03/18/2020, 10:48 PMZach Klippenstein (he/him) [MOD]
03/20/2020, 6:14 PMCall<T>.await()
and Call<T?>.await()
for converted responses, but for Response
there’s only Call<T>.awaitResponse()
? I don’t see any reason it couldn’t be implemented, was it just left out unintentionally? Or for that matter, does T
even need to have a non-nullable upper bound for awaitResponse
?Brendan Weinstein
03/21/2020, 4:02 AMinterface Service {
@GET("/food")
suspend fun getFood(): Food
}
val food = withContext(<http://Dispatchers.IO|Dispatchers.IO>) { service.getFood() }
OR
val food = service.getFood()
vinay
03/23/2020, 3:44 PMWorkflowLayout
or do you combine layout runners when you need to do transitions between them?Tolriq
03/30/2020, 6:53 AMgrahamborland
04/01/2020, 8:53 AMLayoutRunner
to be an inner class of the Activity so it can access invalidateOptionsMenu()
and onOptionsItemSelected()
but in looking through the samples I didn’t see anything like this. Any pointers? If my Rendering
includes fields to be rendered in a normal view and fields to toggle an action bar menu item, how should I approach that?Dominaezzz
04/04/2020, 7:29 PMtrimIndent()
instead of trimMargin()
for multiline strings?
// language=json
val json = """
|{
| "type": "m.key.verification.start",
| "content": {
| "from_device": "BobDevice1",
| "transaction_id": "S0meUniqueAndOpaqueString",
| "method": "m.sas.v1"
| }
|}
""".trimMargin()
The margins here break the language injection feature.manueldidonna
04/07/2020, 1:14 AMjw
04/10/2020, 2:24 PMJsonAdapter.Factory
Brendan Weinstein
04/10/2020, 3:50 PM[/Users/mountainhare/basebeta/basebeta-monorepo/common/build/generated/sqldelight/code/KExitDatabase] of module [basebeta-monorepo.common.iosMain] was removed from modules [basebeta-monorepo.common.iosArm32Main, basebeta-monorepo.common.iosArm64Main, basebeta-monorepo.common.iosX64Main, basebeta-monorepo.common.jvmMain, basebeta-monorepo.common.commonMain, basebeta-monorepo.common.mobileMain]
coletz
04/11/2020, 12:45 PMDominaezzz
04/20/2020, 7:18 PMdanny
04/21/2020, 5:10 PMjw
04/22/2020, 3:56 AMalec
04/22/2020, 1:09 PMbasher
04/22/2020, 3:49 PMbasher
04/22/2020, 3:52 PMjw
04/24/2020, 4:36 PMOkHttpClient().use { makeOneHttpRequest(it) }
Colton Idle
04/29/2020, 9:09 AMsaket
04/29/2020, 10:36 PMsaket
04/29/2020, 10:36 PMKris Wong
04/29/2020, 10:48 PMsaket
04/29/2020, 10:50 PM