mbonnin
01/05/2023, 10:53 AMsourceDirectorySet.srcDir()
while it builds ok doesn't have "full" IDE supportmbonnin
01/05/2023, 10:55 AMaddJavaSourceFoldersToModel
(yes, even for Kotlin)
• 'lint' not recognizing the generated sources as generated and therefor analysing them by default. For this one, I think the only solution is to go the onVariants {}
roadjw
01/05/2023, 11:27 AMmbonnin
01/05/2023, 11:43 AMTODO Should be able to doI think AGP wants us to usesourceSets.main.kotlin.srcDir(helpers)
onVariant {}
moving forward, not srcDir()
(but I'd love to be wrong)jw
01/05/2023, 11:49 AMmbonnin
01/05/2023, 2:04 PMsrcDir
:
1. From Kotlin (Automatically adding the dependency): kotlin.sourceSets.main.kotlin.srcDir(taskProvider)
2. From Android (Not automatically adding the dependency): android.sourceSets.main.kotlin.srcDir(taskProvider)
In redwood 1. works and 2. doesn't. The current registerJavaGeneratingTask
is still probably the best optionbrabo-hi
01/06/2023, 6:52 PMNOT EQUAL
clause when using sqldelight ?Jon Miller
01/07/2023, 2:29 PMTolriq
01/08/2023, 1:54 PMShivam Verma
01/09/2023, 3:49 PMjw
01/09/2023, 3:50 PMsaket
01/09/2023, 7:55 PM// not real code
fun renderViewModel(model: FileBlockerViewModel) {
toolbar.title = model.screenTitle
recyclerViewAdapter.submitList(model.items)
}
saket
01/09/2023, 7:56 PMDaniel Perez
01/09/2023, 8:09 PMcurrentModel
that gets tracked every time the model changes? Thanks for your help Saketsaket
01/09/2023, 8:28 PMTextView#checkForRelayout()
for an example.Big Chungus
01/10/2023, 8:07 AMjw
01/10/2023, 11:13 AMjessewilson
01/11/2023, 1:43 AMexpect/actual
functions to do this if you need it. I’ve resisted adding permissions to Okio’s file system to keep it focused. But I’m eager to hear use caseshfhbd
01/11/2023, 10:37 AMeygraber
01/11/2023, 7:36 PMjw
01/11/2023, 7:38 PMSean Proctor
01/12/2023, 3:25 PMjw
01/12/2023, 3:26 PMColton Idle
01/15/2023, 3:45 AMNicoLourenco
01/16/2023, 2:16 PMLamberto Basti
01/16/2023, 5:29 PMCodeBlock.Builder
write two different statements .add(statement1).beginControlFlow(statement2)
on separated line. The details are here, could someone give me an hint on how to investigate? I really have no clue what is going on...hfhbd
01/16/2023, 5:31 PMadd
does not add new lines, addStatement
does.Lamberto Basti
01/16/2023, 6:39 PMcontext(Transaction)
public fun TestTable.updateTestTableById(parameter: Int, dto: TestTableDTO): Int =
update({ id eq parameter }) { statement ->
statement[id] = requireNotNull(dto.id) { "TestTableDTO.$id is null" }
statement[name] = requireNotNull(dto.name) { "TestTableDTO.$name is null" }
statement[surname] = dto.surname
statement[aLong] = requireNotNull(dto.aLong) { "TestTableDTO.$aLong is null" }
}
instead of:
context(Transaction)
public fun TestTable.updateTestTableById(parameter: Int, dto: TestTableDTO): Int = update({ id eq
parameter }) { statement ->
statement[id] = requireNotNull(dto.id) { "TestTableDTO.$id is null" }
statement[name] = requireNotNull(dto.name) { "TestTableDTO.$name is null" }
statement[surname] = dto.surname
statement[aLong] = requireNotNull(dto.aLong) { "TestTableDTO.$aLong is null" }
}
?jw
01/16/2023, 6:41 PMTung97 Hl
01/18/2023, 9:35 AM