Questions tagged [jetpack]

Jetpack is a WordPress plugin that enables self-hosted WordPress installs to connect to WordPress.com to get additional features, powered by its cloud infrastructure.

Jetpack is a WordPress plugin that enables self-hosted WordPress installs to connect to WordPress.com to get additional features, powered by its cloud infrastructure.

445 questions
2
votes
1 answer

NullPointerException at androidx.compose.ui.platform.RenderNodeLayer.updateDisplayList

I have a Drawer on my MainScreen which navigates me through drawer screens, but for some reason when I try to navigate to two specific screens (this only happens at the first time when I open the app), my app crashes with this error: FATAL…
2
votes
2 answers

Jetpack Compose 2023 to stop the keyboard overlaping the screen content

Note: It's Jan 2023 and I'm learning the latest Jetpack Compose. I say this as most of the main documentation / samples and answers on here are simply out of date and just don't work in many cases. Even the demo apps are old (even updated) and still…
2
votes
0 answers

How to create 2D Table with Row and Column headers and content Scrollable on Jetpakcompose

I'm facing a logical problem in Jetapck compose, how can Ive the black bock scrolling horizontally and vertically with respectively the green and redbox. Green and red box can be considered like headers,black box like a content. So : When…
2
votes
1 answer

How do I SNAP to initial index of LazyColumn while using SnapFlingBehavior in Jetpack Compose?

Okay so I've got a really interesting questions here. Let's talk snapping. Now that snapping is a 1st class api (RIP Snapper lib) available for compose devs using LazyColumn, a fundamental question has arose... how do I initialize the LazyColumn so…
A.Sanchez.SD
  • 1,950
  • 2
  • 18
  • 23
2
votes
0 answers

Jetpack Compose ExposedDropdownMenu always going up

I'm trying to implement ExposedDropdownMenu - which I want to be displayed underneath TextField - when I set height of dropdown to max. 20 dp then everything is okay. But for any greater value it is always displayed above. Do you know what could be…
2
votes
0 answers

Firebase Github Authentication for Jetpack Compose App

Firstly, I read the documentation. I enabled GitHub auth from the console and typed OAuth app info, such as client_id, etc. But I got confused about how should I do it. In the documentation, there are some Java codes like that. But I want to do that…
user20197752
2
votes
1 answer

Jetpack Compose Switch Toggle elevation

I have a white Switch on white background. The default switch toggle elevation seems to be to low which results in the toggle blending with the switch and background. I know there is Modifier.shadow that can be applied to modifier, however Switch…
Sermilion
  • 1,920
  • 3
  • 35
  • 54
2
votes
2 answers

Jetpack compose , Trying to find an efficient way to align elements within rows which are inside a column

I want to align my contact elements as in the picture but I don't want to use padding and spacer, because it will look different on different devices(mb Im wrong). So how can I get such an output of elements? [This is what I want it to look like]…
Useless
  • 29
  • 3
2
votes
1 answer

Swipe button menu in jetpack compose

I wanna implement a swipe button menu which get bigger and brighter when in the center and the others are smaller and darker. And wanna implement it in jetpack compose. Looking foward for a solution
bovietvidai
  • 105
  • 5
2
votes
2 answers

Jetpack Compose - LazyColumn fails to show some items if I swipe fast

I just try scrolling a list with LazyColumn. Problem is, if i scroll fast, it doesn't work laggy but it skips some of items. It can show all items when i scroll the screen slowly. compose_ui_version = '1.2.1' kotlinCompilerExtensionVersion…
erkan demir
  • 1,386
  • 4
  • 20
  • 38
2
votes
1 answer

Upgrading compose/gradle

I copied project from GitHub and I want to modify it. But I can't add LazyHorizontalGrid so I guess I need to update Jetpack Compose version or Gradle right? What is proper way of doing that because if I do it with Project Structure as IDE suggest…
2
votes
1 answer

Setting Default orientation to landscape in jetpack compose?

I saw in another question talking about how to find out the orientation, But I want to know how we can set the default orientation of an activity to Landscape in jetpack compose? I searched through some websites and some videos in YouTube, but I…
2
votes
1 answer

A couple questions about Baseline Profiles in Android

I read the docs and watched a couple videos about the benefits of baseline profiles, how to benchmark and how to generate them. Still I have a couple questions that I couldn't answer myself with the help of the docs. As soon as I have my…
HavanaSun
  • 446
  • 3
  • 12
  • 39
2
votes
1 answer

Difference with Mobile Native Dynamic Maps and Dynamic Maps cost and usage

for what I understand, the only difference on being charged or not is the usage of a map ID for android. when you are not using a map id, you are not billed for a map load, under the SKU: Mobile Native Dynamic Maps am I right? ref:…
2
votes
1 answer

How to get Color(JetpackCompose) from resources correctly?

I need to use resources in order to support different BuildVars, so I have Color.kt file where I define my colors, the problem is that if I get a color from the resources colors.xml like this val MyWhiteColor: Color =…