Questions tagged [composable]
The composable tag has no usage guidance.
composable
221
questions
0
votes
1
answer
38
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 ...
-1
votes
0
answers
13
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 ...
1
vote
1
answer
25
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 : ...
0
votes
1
answer
56
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 ...
0
votes
1
answer
28
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 ...
1
vote
0
answers
24
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 ...
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 ...
1
vote
1
answer
56
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 ...
0
votes
1
answer
35
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 ...
0
votes
1
answer
26
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 ...
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 ...
1
vote
2
answers
36
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 @...
0
votes
1
answer
35
views
Why do I get undesired multiple recompositions for the same component?
I'm creating a modify edit pane (in a team tasks tracking app). I'd like to create and visualize some fields with empty values if no teamId is provided (it will be a new team) or existing values taken ...
3
votes
1
answer
40
views
Vertical alignment of Row doesn't center properly
I'm programming a few examples from the Android training courses and i'm stuck on a little detail. I want to align a text composable and a switch composable vertically, but somehow the switch ...
0
votes
0
answers
40
views
LaunchedEffect unexpected behavior not getting composable animation properly
I have a flow in my screen's composable, continuously receiving from backend new values, which I transform to screen offsets for animation purposes and put in a map called markersMap:
@Composable
fun ...