spi

joined 1 year ago
 

Hey, I have a function that draws a composable,

@Composable
        fun home() : @Composable RowScope.() -> Unit {
            return {
                BottomNavigationItem(
                    icon = {
                        Icon(Icons.Filled.Home, "Home")
                    },
                    onClick = {},
                    selected = false,
                    label = {
                        Text("Home")
                    }
                )
            }
        }

That doesn't draw it to the GUI I am calling it with

@Composable
fun App() {
    MaterialTheme {
        BottomAppBar {
            StaticAssets.BarButtons.home()
        }
    }
}

Does anyone know why it doesn't work?

15
Twilio Alternatives (programming.dev)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

I'm trying to stop using my phone number for registering stuff and was wondering what alternatives would be suitable for forwarding messages and calls since I know about Twilio but it seems to be really bad.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Should we make a programmer hiring community as I can't seem to find one and it seems like a good thing ('dev_hiring') ('Developer Hiring')

[–] [email protected] 2 points 1 year ago

Problem, oem unlock is hidden in my phones settings

 

Yo I have a verizon US edition galaxy s22 does anyone know how to root it since I believe the bootloader is encrypted

[–] [email protected] 0 points 1 year ago (1 children)

What is | I only know ||

[–] [email protected] 1 points 1 year ago

Legends say this code runs faster than what the op posted. StackOverflow Errors are surprisingly fast in most languages

 

Does anyone know how to make good double bar proofs? I used a column with a row before but I was wondering if there are any better options.

[–] [email protected] 5 points 1 year ago (1 children)

Wdym, did Apple say they will make EU/JP phones less secure because they have to sideload apps. Or is this because sideloading apps can increase the risk of malware in some situations (Also btw I believe you can already sideload apps for 7 days normally and 1 year with an apple dev licence)

[–] [email protected] 1 points 1 year ago

Trying not to do monthly for right now

[–] [email protected] 1 points 1 year ago (2 children)

Something like this my only question is do you have to use the HP firmware or can you just run Linux on it?

[–] [email protected] 1 points 1 year ago (2 children)

Do you know how much they are? Some family was showing me some. However, they were around 1.7K USD

[–] [email protected] 1 points 1 year ago (1 children)

Problem, I am currently living in the US

 

I'm trying to start out self-hosting and was looking for some good servers. I have a budget of ~100 USD and am in the US. I was initially going to get some type of raspberry pi but they seem to always be sold out here

[–] [email protected] 1 points 1 year ago (3 children)

Yeah thats totally fine

[–] [email protected] 1 points 1 year ago (5 children)

Yo can we get one minecraft 'mc_dev' 'Minecraft Development'

view more: next ›