Sebastian Kaspari

Results 116 issues of Sebastian Kaspari

Currently the `Composer` ([code](https://github.com/pocmo/recompose/blob/main/recompose-composer/src/main/kotlin/recompose/composer/Composer.kt)) is an independent class that writes Kotlin code and outputs it as a string. This string is then used by the plugin and CLI. What if...

experiment

#11 added basic support for `FrameLayout`. This issue is about adding support for `gravity` so that children can be positioned in the `FrameLayout` / `Box`. Also see discussion about how...

enhancement
view

View: https://developer.android.com/reference/android/widget/FrameLayout Composable: Maybe we can just translate it to a `Box()` with children?

enhancement
view

https://developer.android.com/reference/android/widget/EditText ```XML ```

enhancement
view

XML: https://developer.android.com/reference/androidx/appcompat/widget/Toolbar Jetpack Compose: https://developer.android.com/reference/kotlin/androidx/compose/material/package-summary#topappbar

enhancement
view

Currently a `drawable` value in `ImageView` will always be written as: ```Kotlin Image(imageResource(R.id.the_drawable), ...) ``` This works for drawable resources that are PNGs. But it fails if the drawable is...

bug

Currently we do not use line breaks for formatting. So for example we'd create the following `Text` Composable: ```Kotlin Text(text = "I am a test", color = Color(0xffffcc00.toInt()), fontSize =...

enhancement

Exception class ``` java.lang.IndexOutOfBoundsException ``` Source method ``` SpannableStringInternal.checkRange() ``` java.lang.IndexOutOfBoundsException: setSpan (184 ... 15) has end before start ``` at android.text.SpannableStringInternal.checkRange(SpannableStringInternal.java:341) at android.text.SpannableStringInternal.setSpan(SpannableStringInternal.java:77) at android.text.SpannableString.setSpan(SpannableString.java:46) at org.yaaic.model.Message.render(Message.java:271) at org.yaaic.model.Message.renderTextView(Message.java:325)...

Bug

ADT 16 is public now and Android lint can list a lot of common errors. Run it on Yaaic and see if there's anything to fix (I bet there is).

Technical Debt