Chachako
08/11/2021, 3:10 PMflow
to handle the clickable
callback event? I need to debounce click. If one example will be grateful! 😄Angeles Bilbao
08/11/2021, 3:28 PMrajesh
08/11/2021, 5:19 PMSee more/less
based on text displayed.carbaj0
08/11/2021, 5:57 PMFudge
08/11/2021, 5:58 PMPHondogo
08/11/2021, 6:40 PMenighma
08/11/2021, 8:55 PMslideIn
fadeIn
etc.
Is this a known issue? I.e is the solution to dial in the parameters?Chuck Stein
08/12/2021, 12:48 AMAnton Dmytryshyn
08/12/2021, 2:55 AMBenyam Seifu
08/12/2021, 3:41 AMTin Tran
08/12/2021, 11:23 AMmmaillot
08/12/2021, 11:44 AMrajesh
08/12/2021, 11:47 AMType 'LazyPagingItems<Post>' has no method 'getValue(Nothing?, KProperty<*>)' and thus it cannot serve as a delegate
and I've already imported import androidx.compose.runtime.getValue
class ProfileViewModel @Inject constructor(
private val profileRepository: ProfileRepository
) : ViewModel() {
val selfPosts: Flow<PagingData<Post>> =
profileRepository
.getSelfPosts()
.cachedIn(viewModelScope)
}
fun ProfileScreen(profileViewModel: ProfileViewModel) {
val selfPosts by remember(profileViewModel) {
profileViewModel.selfPosts
}.collectAsLazyPagingItems()
}
Florian
08/12/2021, 12:05 PMhilt
)`viewModel()` in the activity and pass it to my Composable screen?bodo
08/12/2021, 12:20 PMimplementation(composeUi)
implementation(composeMaterial)
implementation(composeUiTooling)
implementation(composeFoundation)
this adds 3,7mb to my project with and without proguard with no special rules… is proguard not working for compose???Shakil Karim
08/12/2021, 12:33 PMUnsupported concurrent change during composition. A state object was " +
"modified by composition as well as being modified outside composition
Todor Grudev
08/12/2021, 1:07 PMWebView
(code in 🧵) but it doesn’t seem to work, is there a potential issue with WebView
and compose?rajesh
08/12/2021, 1:29 PMMarko Novakovic
08/12/2021, 4:08 PMFailed to get visible insets. (Reflection error). No field mVisibleInsets in class Landroid/view/View$AttachInfo; (declaration of 'android.view.View$AttachInfo' appears in /system/framework/framework.jar!classes3.dex)
any help?
not crashing, app still works fine but I started to see it in the logcatMarko Novakovic
08/12/2021, 4:25 PMexpandIn
and shrinkOut
always expand in/shrink to top left corner. setting `expandFrom`/`shrinkTowards` has no effect and default value for those two is Alignment = Alignment.BottomEnd
.Marko Novakovic
08/12/2021, 4:44 PMSunny
08/12/2021, 5:57 PMtheapache64
08/12/2021, 6:59 PMnavigate
) a page (composable
) as transparent?composable
on another composable
when using navigation-compose
library? OR how to create transparent page?josefdolezal
08/12/2021, 9:23 PMAshu
08/12/2021, 9:30 PMFunkyMuse
08/12/2021, 10:15 PMPHondogo
08/12/2021, 10:26 PMZach Klippenstein (he/him) [MOD]
08/12/2021, 10:33 PMKy
08/12/2021, 10:46 PMsetContent{}
. I have a shared viewModel between a Fragment and an Activity. In the activity xml I have a ComposeView
and in onStart
I’m attempting to update that ComposeView like this
Code block 1
Inside the composable view is something like
Code block 2
The problem is that setContent
in the activity is only being called when the activity is attached/detached. It is not observing the data stream but if it switch the code to this(still in onStart):
Code block 3
This works fine. Is there something I’m missing about setContent{} in the Activity?Florian
08/12/2021, 11:27 PMFlorian
08/12/2021, 11:27 PMkevindmoore
08/12/2021, 11:29 PMFlorian
08/13/2021, 1:17 AMBerkeli Alashov
08/13/2021, 3:23 AMFlorian
08/13/2021, 10:40 AM