loloof64
02/09/2021, 5:46 PMStaggeredGridLayoutManager
(or LinearLayoutManager
) ?André Thiele
02/09/2021, 7:39 PMDustin Lam
02/09/2021, 8:02 PMDustin Lam
02/09/2021, 8:02 PMDustin Lam
02/09/2021, 8:03 PMJørgen Heinsen
02/10/2021, 8:13 AMbuszi0809
02/10/2021, 2:08 PMStian Brandt
02/10/2021, 3:33 PMExecution failed for task ':app:lintDebug'.
> Could not resolve all files for configuration ':app:lintClassPath'.
> Could not find org.jetbrains.trove4j:trove4j:20160824.
Searched in the following locations:
- <https://dl.google.com/dl/android/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom>
- <https://repo.maven.apache.org/maven2/org/jetbrains/trove4j/trove4j/20160824/trove4j-20160824.pom>
Required by:
project :app > com.android.tools.lint:lint-gradle:27.1.2 > com.android.tools:sdk-common:27.1.2
project :app > com.android.tools.lint:lint-gradle:27.1.2 > com.android.tools.external.com-intellij:intellij-core:27.1.2
Tiago Nunes
02/10/2021, 3:41 PMAndré Thiele
02/10/2021, 7:26 PMAndré Thiele
02/10/2021, 9:50 PM@Transaction
@Query("""
SELECT * FROM customers
WHERE customer_id = :id
AND is_deleted = 0
""")
fun getCustomerWithVisits(id: Long): Flow<CustomerWithVisits>
harry248
02/11/2021, 2:41 PMSlackbot
02/11/2021, 2:44 PMNiklas Gürtler
02/12/2021, 11:08 AMwithContext(Dispatchers.Main) { invalidate() }
with postInvalidate()
Susheel
02/12/2021, 6:02 PMTarunY
02/13/2021, 3:58 AMFlorian
02/13/2021, 2:47 PMviewLifecycleOwner.lifecycleScope.launch
(instead of launchWhenStarted
) would crash if it collected a value while the app is in the background?André Thiele
02/13/2021, 4:30 PMAndré Thiele
02/13/2021, 7:16 PMdazza5000
02/14/2021, 1:41 AMChetan Tuteja
02/15/2021, 4:55 AMBhaskar
02/15/2021, 5:58 PMkenkyee
02/16/2021, 12:40 AMAlex
02/16/2021, 1:07 AMnull
value this throws when left empty with a default value like a 0
?
val caloriesPerServingEditText = findViewById<EditText>(R.id.caloriesPerServingEditText)
val caloriesPerServing = caloriesPerServingEditText.text.toString().toInt()
database.child(addFoodName).setValue(FoodData(caloriesPerServing))
Utkarsh Tiwari
02/16/2021, 4:58 AMorg.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: Couldn't inline method call '<get-current>' into
public val DsColors: com.iamutkarshtiwari.ds.theme.DsColorPalette defined in com.iamutkarshtiwari.ds.theme in file DsTheme.kt
val DsColors: DsColorPalette
@Composable
get() = AmbientDsColor.current
Cause: Not generated
Any ideas what went wrong?Bilel El Oud
02/16/2021, 7:35 AMSamir Basnet
02/17/2021, 10:55 AMKshitij Patil
02/17/2021, 11:45 AMval newEntries = currentState().subEntries.toMutableList()
newEntries.remove(action.subEntry)
setState { copy(subEntries = newEntries.toList()) }
Are there any performance hits by doing it this way?Dan Halperin
02/17/2021, 5:23 PMRechee Jozil
02/18/2021, 5:33 AM<http://Dispatchers.IO|Dispatchers.IO>
in coroutines)? Do you do things asynchronously or more blocking? Damn I got a lot of questions hahaRechee Jozil
02/18/2021, 5:33 AM<http://Dispatchers.IO|Dispatchers.IO>
in coroutines)? Do you do things asynchronously or more blocking? Damn I got a lot of questions hahaShabinder Singh
02/18/2021, 5:37 AMOG
02/18/2021, 6:59 AMValtteri Puonti
02/18/2021, 8:11 AMExecutors.newSingleThreadExecutor().asCoroutineDispatcher()
on our use case layer to make sure that domain objects are not modified concurrently, otherwise, normal coroutine stuff you see everywhere: IO for IO, UI for UI etc..Zach Klippenstein (he/him) [MOD]
02/18/2021, 2:29 PMtalk▾
Joost Klitsie
02/19/2021, 11:51 AM