spi

joined 2 years ago
MODERATOR OF
[–] spi 1 points 1 year ago

Found out why apparently you have to .invoke it because it needs to be in a rowscope

5
Composable not being drawn (self.android_dev)
submitted 1 year ago by spi to c/android_dev
 

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 (self.programming)
submitted 1 year ago* (last edited 1 year ago) by spi to c/programming
 

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.

[–] spi 1 points 2 years ago

Yep need to add clarifacation

[–] spi 2 points 2 years ago* (last edited 2 years 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')

2
submitted 2 years ago* (last edited 2 years ago) by spi to c/minecraft_dev
 

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

[–] spi 1 points 2 years ago
[–] spi 1 points 2 years ago

So your saying sideloading apps can cause ypur government id to be leaked? If so I don't think any phone (apple or android) allow acessing another apps data especially if it is protected by entering pin or password

[–] spi 1 points 2 years ago

Solution, protocol libswitched them I believe because spigot did

[–] spi 2 points 2 years ago

Problem, oem unlock is hidden in my phones settings

[–] spi 1 points 2 years ago

What are the trackers they said they would be linked in the torrent but aren't

 

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

[–] spi 1 points 2 years ago

Oh yeah, I took the history of Cobol usage that one year should have remembered that

7
rooting galaxy s22 (self.android)
submitted 2 years ago by spi to c/[email protected]
 

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

[–] spi 3 points 2 years ago (3 children)

What is | I only know ||

[–] spi 1 points 2 years ago

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

2
Double Bar Proofs (self.latex)
submitted 2 years ago by spi to c/latex
 

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.

 

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

5
What to do in Winnipeg (self.manitoba)
submitted 2 years ago by spi to c/[email protected]
 

Hey, I'm an American coming to Canada to get a bike in Winnipeg and was wondering what to do there since I will be there for probably a week (we live southwest US, so I might as well). Teen friendly if you can as the bike is for a teenager

3
Minecraft Server Software (self.minecraft_dev)
submitted 2 years ago* (last edited 2 years ago) by spi to c/minecraft_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

 

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

10
submitted 2 years ago by spi to c/kotlin
 

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 ›