saket
11/21/2022, 4:18 PMAndroidUiDispatcher
that supplies a frame clock:
(scope + AndroidUiDispatcher.CurrentThread).launchMolecule(ContextClock) { ... }
dave08
11/21/2022, 4:20 PMdave08
11/21/2022, 4:22 PMAndroidUiDispatcher
... what is that one? And why wouldn't molecule provide some kind of helper for such a common (?) use case?jw
11/21/2022, 4:24 PMdave08
11/21/2022, 4:25 PMjw
11/21/2022, 4:25 PMdave08
11/21/2022, 4:27 PMViewModel
I wouldn't need that, whereas when using straight from a compose view, I would?dave08
11/21/2022, 4:28 PMfun <T> CoroutineScope.launchMolecule(
clock: RecompositionClock,
body: @Composable () -> T,
): StateFlow<T>
jw
11/21/2022, 4:28 PMdave08
11/21/2022, 4:29 PMuse it without a frame clock
?jw
11/21/2022, 4:36 PMjw
11/21/2022, 4:36 PMcombine
operator. any time an input changes it will emit a new output.Ian Botsford
11/22/2022, 4:14 PMJohn O'Reilly
11/25/2022, 4:49 PMEduard Boloș
11/25/2022, 5:27 PMStefan Oltmann
11/28/2022, 2:11 PMIf you run your migration from code [...]
I was thinking that just having a 1.sqm
would cause the database to update, because the first sentence make it sound like the code migration way is optional.
But since this does not work it looks like I have to call Database.Schema.migrate()
in code regardless.
Correct?jw
11/28/2022, 2:23 PMjw
11/28/2022, 2:26 PMantonioleiva
11/29/2022, 10:43 AMhfhbd
11/29/2022, 10:53 AMantonioleiva
11/29/2022, 12:43 PMJeff Lockhart
11/30/2022, 12:03 AMSource
being an interface? Would it make sense for both NSInputStream.source()
and BufferedSource.inputStream()
to live in BufferedSource
?grahamborland
11/30/2022, 5:03 PMVARCHAR
and NUMERIC
types. I dumped the schema into a .sq
file and it seems SQLDelight doesn’t like these types.
<type name real> expected, got 'VARCHAR'
How do I get it to accept these? I recall reading about dialects; is that where I should be looking?jw
11/30/2022, 5:08 PMjw
11/30/2022, 5:09 PMjw
11/30/2022, 5:09 PMgrahamborland
11/30/2022, 5:12 PMNUMERIC
columns does work (empirically) but maybe it’s not ideal.jw
11/30/2022, 5:13 PMgrahamborland
11/30/2022, 5:15 PMgrahamborland
11/30/2022, 5:15 PM