Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)SP
Posts
11
Comments
2
Joined
2 yr. ago
Android Development @programming.dev
Spy @programming.dev

Composable not being drawn

Hey, I have a function that draws a composable,

 undefined
    
@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

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


  

Does anyone know why it doesn't work?

Kotlin @programming.dev
Spy @programming.dev

How to store data with Jetpack Compose Multi platform

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?

Programming @programming.dev
Spy @programming.dev

Twilio Alternatives

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.

Minecraft Development @programming.dev
Spy @programming.dev

How do you feel about NMS (net.minecraft.server)

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

Minecraft Development @programming.dev
Spy @programming.dev

Why does water fire a block place event without the location

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

Android @lemmy.world
Spy @programming.dev

rooting galaxy s22

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

LaTeX @programming.dev
Spy @programming.dev

Double Bar Proofs

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.

Minecraft Development @programming.dev
Spy @programming.dev

What packet is sent for block updates from the client

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

Minecraft Development @programming.dev
Spy @programming.dev

Minecraft Server Software

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

Selfhosted @lemmy.world
Spy @programming.dev

Good servers for self-hosting

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

Kotlin @programming.dev
Spy @programming.dev

Making plugins for gradle

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