elye
05/26/2021, 9:42 AMimplementation "dev.chrisbanes.accompanist:accompanist-coil:0.6.0"
from mavenCentral()
. But I cannot get 0.10.0
from there. Which repo should I get it from? Thanks!Kulwinder Singh
05/26/2021, 10:55 AMDavid Edwards
05/26/2021, 11:50 AMMarcin Środa
05/26/2021, 12:36 PMfillMaxWidth(X).wrapContentWidth
is not working for meMuhammad Zaryab Rafique
05/26/2021, 12:55 PMTin Tran
05/26/2021, 1:37 PMC:\.....\app\build\intermediates\compile_and_runtime_not_namespaced_r_class_jar\debug\R.jar: The process cannot access the file because it is being used by another process.
I tried to delete the file manually and run again but no luckVitaliy Zarubin
05/26/2021, 4:11 PMShakil Karim
05/26/2021, 6:30 PMColton Idle
05/26/2021, 9:48 PMonXChanged
as an event name and instead having onXChange
? I'm reading that back to myself in Florina's voice, but I can't seem to place my finger on where I saw that guidance.Billy Newman
05/26/2021, 11:00 PMKulwinder Singh
05/27/2021, 5:01 AMRavi
05/27/2021, 6:01 AMFree Ram < 1gb
, Exception log in 🧵iamthevoid
05/27/2021, 6:38 AMTolriq
05/27/2021, 7:21 AMAkram Bensalem
05/27/2021, 8:02 AMMehdi Haghgoo
05/27/2021, 8:18 AMTimo Drick
05/27/2021, 9:01 AMMuhammad Zaryab Rafique
05/27/2021, 10:21 AMVitaliy Zarubin
05/27/2021, 12:03 PMGuilherme Delgado
05/27/2021, 1:06 PMaccompanist.insets
systemBarsPadding()
version 0.8.0 with 1.0.0-beta05. Now I’m using 0.10.0 with beta07 and no systemPadding is applied. Did I miss any change? 🤔Hachemi Hamadi
05/27/2021, 1:47 PMdimsuz
05/27/2021, 2:04 PMTypograhpy
class is now not a data class
(it used to be), but has the same semantics. Why is this so? If I'm making my own Typography
-like class why shouldn't I use data class
?iamthevoid
05/27/2021, 2:15 PMisAppDarkTheme()
surely works correct, colors depends on it. I checked with logs what lays in the res
val and it changes! Why Icon
can not recomposing?
Another strange thing is that there are 4 “checkboxes”, but when i toggled theme i saw sometimes only one, sometimes two log lines (log
prints from else
block)Daniel Rampelt
05/27/2021, 2:18 PMJeff
05/27/2021, 2:18 PMchris
05/27/2021, 2:26 PMModifier.semantics{}
on the DropDownMenu component, but TalkBack seems to read out the panel package and activity name. Any ideas of how to get around it? Code in 🧵iamthevoid
05/27/2021, 2:48 PMIcon(
imageVector = with(Icons.Default) { if (isAppDarkTheme()) DateRange else KeyboardArrowRight },
contentDescription = null
)
but if i replace it with resources icon not changing
Icon(
painter = painterResource(id = if (isAppDarkTheme()) R.drawable.ic_checkbox_on_night else R.drawable.ic_checkbox_on_day),
contentDescription = null
)
julioromano
05/27/2021, 3:29 PMnavController.previousBackStackEntry?.savedStateHandle.set()
still a valid way to pass return values from a screen to the previous screen in the backstack using navigation-compose
?
Are there any other preferred ways?
(asking coz I didn’t notice it in the navigation compose docs)julioromano
05/27/2021, 3:45 PMnavigation-compose
question:
Is it possible to scope a viewModel()
to a nested navigation graph? (So that 2 screens in a nested graph can share state without making that state “global”)Daniel
05/27/2021, 4:58 PMval state = rememberMapboxState(initialPosition, style)
MapboxView(state)
// later
state.animatePosition(newPosition)
The problem is I can't figure out how to have a method on the state trigger an update to the AndroidView
. I'm considering having the state have a flow of events that the MapboxView
attaches to in the `AndroidView`'s update
, but I was wondering if there's a better approachDaniel
05/27/2021, 4:58 PMval state = rememberMapboxState(initialPosition, style)
MapboxView(state)
// later
state.animatePosition(newPosition)
The problem is I can't figure out how to have a method on the state trigger an update to the AndroidView
. I'm considering having the state have a flow of events that the MapboxView
attaches to in the `AndroidView`'s update
, but I was wondering if there's a better approachDerek Ellis
05/27/2021, 8:51 PMMapboxState
the position member would need to be a MutableState
. Since the entire state is passed into your MapboxView
(which I'm assuming is your composable wrapper?), when that state is updated (such as by calling animatePosition
) then your mapbox composable will automatically recomposeDaniel
05/27/2021, 8:53 PM