https://kotlinlang.org
Join Slack
Hi! Is there any Compose libraries for working with 3d graphics?
p

PHondogo

almost 3 years ago
Hi! Is there any Compose libraries for working with 3d graphics?
p
z
m
  • 3
  • 2
  • 527
I've tried to build an EPG as a Grid and struggle to get a working, lazy-loading solution. My use ca...
d

dbaelz

over 3 years ago
I've tried to build an EPG as a Grid and struggle to get a working, lazy-loading solution. My use case: • The EPG consists of 120+ rows (tv stations) and every row consist of 200+ row items (tv programs of the different broadcast times). • Every item in the row has a different width based on its broadcasting time. On the x-axis only a specific timespan is displayed and the user can scroll throw them horizontal. Because the x-axis represents the time, a horizontal scroll should change all items in all rows. • It should be possible to scroll throw both horizontal (tv programs based on time) and vertical (different tv stations) on the same time. With non-lazy Composable it works, but with the mentioned amount of items the performance is really bad. Obviously, it should be done lazy. Unfortunately, I didn't find a solution that worked for me. Especially syncing the scroll state of the different rows was a problem. I looked into different approaches to do it with LazyList Composables or Lazy Grid (e.g. syncing the scroll with NestedScrollConnection and shared state). See some examples in the thread. Afaik there isn't a Composable that supports horizontal and vertical lazy loading for such a use case out of the box. Has someone has an idea how to tackle that it without writing all of it by myself or an easy way to do it with a Custom Layout?
d
n
p
  • 3
  • 4
  • 526
Hi! I am using Material design extended icons in my android app developed with Jetpack Compose. Howe...
m

Manojna Chintapalli

about 3 years ago
Hi! I am using Material design extended icons in my android app developed with Jetpack Compose. However, I do not see a way to adjust their weight/grade/boldness. Can someone please help me with this? Thanks!
m
c
+2
  • 4
  • 12
  • 526
Hello, how are you guys saving and restoring the text states for your `TextFields`?
a

allan.conda

over 3 years ago
Hello, how are you guys saving and restoring the text states for your
TextFields
?
a
l
+7
  • 9
  • 27
  • 526
I might have to remove Koin from my project as I keep getting crashes due to Fragments being reinsta...
k

kevindmoore

about 4 years ago
I might have to remove Koin from my project as I keep getting crashes due to Fragments being reinstantiated. I've put all kinds of code in to check the status and stop/restart koin.
k
s
a
  • 3
  • 31
  • 526
Hello, is there a way to convert `SVG` to `ImageVector` for compose multiplatform ? I try using th...
r

Raphael TEYSSANDIER

about 2 years ago
Hello, is there a way to convert
SVG
to
ImageVector
for compose multiplatform ? I try using this https://www.composables.com/svgtocompose. But it doesn’t work, and material icon works.
r
t
y
  • 3
  • 3
  • 525
Are there any advanced steps possible to reduce the size of the ios / watchos application? What we t...
p

Paul Woitaschek

about 3 years ago
Are there any advanced steps possible to reduce the size of the ios / watchos application? What we tried so far: • Move everything into a single gradle module and make everything internal that’s possible • Switching from dynamic to static linking (-1MB) • Not exporting any libraries Maybe some compiler flags that further reduce the size? We are currently blocked by this because the size of the watch (81mb) is larger than what apple allows (75mb)
😮 1
😬 2
p
p
+5
  • 7
  • 56
  • 525
Hello, everyone :wave:. I’ve just created a new KMM project, but when tried to open it on XCode it s...
h

henrikhorbovyi

over 3 years ago
Hello, everyone 👋. I’ve just created a new KMM project, but when tried to open it on XCode it shows the following error:
The operation could''t be completed. Unable to locate a Java Runtime.
Please visit <http://www.java.com> for information on installing Java.

Command PhaseScriptExecution failed with a nonzero exit code
From Android Studio I even can run it on an iOS emulator, but I can’t get preview or run it from xcode. Anyone to help me on that 😄 ?
h
a
j
  • 3
  • 7
  • 525
How to resolve the "Cannot add extension with name 'kotlin', as there is an extension already regist...
a

avolkmann

almost 8 years ago
How to resolve the "Cannot add extension with name 'kotlin', as there is an extension already registered with that name." error ?
a
i
  • 2
  • 3
  • 525
Has anyone had experience calling a UiKit view from Compose Multiplatform? I have a CMP app where Co...
b

bryankeltonadams

over 1 year ago
Has anyone had experience calling a UiKit view from Compose Multiplatform? I have a CMP app where Compose is used for iOS and Android and I'm using expect/actual in order to show banner ads from Google AdMob. I got the Android side working pretty easily by having the actual function provide a Composable with the AndroidView for the banner ad, having a hard time figuring out how to get the UiKitView inside of a compose function for iOS. Particularly I'm trying to get this view to show up. https://developers.google.com/admob/ios/banner
b
p
+3
  • 5
  • 32
  • 524
Previous121122123Next

kotlinlang

A modern programming language that makes developers happier.

Powered by