spi

joined 1 year ago
MODERATOR OF
 

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?

 

Hey, I am trying to do some data storing on compose multiplatform for ios and Android and tried using Jetpack Datastores but it seems that the class Context does not exist for shared platforms does anyone have any ideas on how to do this?

15
Twilio Alternatives (programming.dev)
submitted 1 year ago* (last edited 1 year ago) by spi@programming.dev to c/programming@programming.dev
 

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.

 

I'm fine with it mostly because paper makes it easy but I want to hear what other people think

 

Can anyone tell me why, on the protocol it says it has a location for it to be placed but water legit just passes the hand time and sequence which seems to be the use item but is firing use item on

 

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

[–] spi@programming.dev 1 points 1 year ago (2 children)

What is | I only know ||

 

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.

[–] spi@programming.dev 2 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)

 

What packet is sent in 1.19.4 for block updates from the client when you, for example click on a ghost block

1
Minecraft Server Software (programming.dev)
submitted 1 year ago* (last edited 1 year ago) by spi@programming.dev to c/minecraft_dev@programming.dev
 

I am starting to compile a list of Minecraft server software you can develop without having to patch the official Minecraft server jar. If you have any others you can think of, post them in the comments, and I will add them to the list

Magma

[–] spi@programming.dev 0 points 1 year ago (1 children)

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

[–] spi@programming.dev 0 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

 

I've been wanting to make some gradle plugins for fun for a while and was wondering if anyone has a tutorial on it or knows how to do it because whenever I try I usually cannot find the dependencies

view more: next ›