Skip to main content

Questions tagged [composable]

The tag has no usage guidance.

composable
0 votes
1 answer
33 views

Composable inheritance... how to add padding to inherited content?

I want to do some kind of Composable Inheritance. I need a parent composable with a Scaffold, and the children must have the inner content to the scaffold. How can I apply the innerPadding to the ...
NullPointerException's user avatar
0 votes
1 answer
25 views

Jetpack Compose NavGraphBuilder uses composable as a method parameter. How?

This is from an Android compass app project at https://github.com/AkarshGuptaa/Compass.git which compiles and runs without bugs I'm wanting to know how compassComposable: @Composable () -> Unit is ...
Doug las's user avatar
0 votes
1 answer
61 views

Nuxt - Component is already mounted, please use $fetch instead

I have this code const redirectToPayment = async () => { const { data } = await useAsyncQuery( createCheckoutMutation, { variantId: product.value.productByHandle.variants.edges[0].node.id}...
Bernardao's user avatar
  • 480
0 votes
1 answer
48 views

Invisible Text When Resuming from backstack

I am building parking app,and I want to get the duration of the parking and update it every second. Everyting is working great UNTIL I pause the app and using other apps on my phone,after about 1 ...
HoLoGram's user avatar
  • 169
-1 votes
0 answers
16 views

Nuxt - Nuxt type is not infered by my modules

this is the situation, my useRouter should consider the useRouter type from .nuxt types, but it's not when I run the build command using nuxt-build-module: I really would like to know how I can solve ...
Jhony Souza's user avatar
1 vote
1 answer
27 views

Trigger point from Activity to Composable function

I am receiving some data from Broadcast receiver to Activity through listeners. Now I need that data in my composable function which I have called from Activity. class DashboardActivity : ...
Maradiya Krupa's user avatar
0 votes
1 answer
64 views

SAP Spartacus Storefront 2211 - how to override PDP pickup options and preselect store

I am using SAP Composable Storefront Spartacus 2211 In PDP, I need to 1- Hide the "Ship it" pickup option 2- Preselect the "Free pickup in store" as it should be the only option ...
David Levy's user avatar
0 votes
1 answer
29 views

Text composable not updating only in RELEASE build

I've a composable that contains a text composable which displays the a duration string provided in the params of the composable function. The problem is that the duration string is getting updated ...
Pravesh Singh's user avatar
1 vote
0 answers
28 views

Nuxt Pages takes a long time to load, if opened first time

I encountered a problem that the nuxt page takes a long time to load, if opened first time It happens on all pages in the project, where i am using composables. Example: I have a login page, where I ...
Rudee Sayuki's user avatar
0 votes
1 answer
19 views

android mutablestateflow update from bluetooth event

I need to update UI composable from bluetooth characteristic change. Incoming data is: @RequiresApi(Build.VERSION_CODES.TIRAMISU) data class OrganConfig( var numberOfSetzers:Int=99, var ...
zamek 42's user avatar
  • 823
1 vote
1 answer
65 views

LazyColumn and error @Composable invocations can only happen from the context of a @Composable function

I have a Composable that shows for each category a line with a dropdown etc and when i try to do a Foreach category do a line in the app so people can click and select a level it shows the Composable ...
Ángel David Gutierrez Orellana's user avatar
0 votes
1 answer
47 views

Unresolved reference: LocalContext in Composable function

I have converted a java class to kotlin class. I want to get context in Composable function. However, I get error which is unresolved reference for LocalContext. @Composable fun test(){ val ...
Emre Esen's user avatar
  • 137
0 votes
1 answer
28 views

How to change facet top visible value 6 to 5 in the composable storefront

Currently in search list page Facet showing 6 value is visible I want to change it 6 to 5. How to configure the default value in composable storefront. DEFAULT_TOP_VALUES Need to change value the ...
deenasiva's user avatar
0 votes
0 answers
12 views

Vue routeguard prevents supabase SIGN_IN event to occur after OAuth redirect

I've followed this tutorial on vueschool https://vueschool.io/articles/vuejs-tutorials/use-supabase-auth-with-vue-js-3/ for supabase auth in vue3 app. For signin i'm using this method: const ...
Depka's user avatar
  • 93
1 vote
2 answers
37 views

@Composable invocations can only happen from the context of a @Composable function while try parse html in webview

I want to implement a dynamic html page parsing function. The implementation is as follows: First, I load the page into the WebView, then I parse it. I ran into a problem that when I try to call a @...
Mr SkNilPler's user avatar

15 30 50 per page
1
2 3 4 5
15