louiscad
02/05/2020, 1:28 PMonCreateOptionsMenu
callback.
BTW, the sample should already have addItem
for menu, and a few other extensions.
If not, it's a matter of time, once I'm done with the most important documentation parts.miha-x64
02/05/2020, 1:35 PMlouiscad
02/05/2020, 3:15 PMmenu
?jmfayard
02/07/2020, 10:39 AMSergio Crespo Toubes
02/11/2020, 3:16 PMstart
and bundle extras with BundleSpec
?
start<MyActivity> {
MyActivity.ExtrasSpec.weight = weight
MyActivity.ExtrasSpec.height = height
}
patrickdelconte
04/04/2020, 3:40 PMadd()
for nesting
verticalLayout {
add(textView {
textResource = R.string.some_text
}, lParams())
}
Coming from other dsl’s it feels a bit cumbersome to me, I’d expect to be able to write something like
verticalLayout {
textview {
textResource = R.string.some_text
}
}
Am I missing something? I don’t have much experience with androidlouiscad
05/03/2020, 8:38 PMlouiscad
06/05/2020, 10:14 AMdimsuz
06/08/2020, 11:25 AMColorStateList
in code? I mean not loading from resources (colorSL
), but actually specifying states and colors manually.louiscad
06/11/2020, 2:09 PMpermissions
split, I made a feature request to allow me to tell Android Studio and lint that a permission has been verified to be granted. Your stars will be appreciated: https://issuetracker.google.com/issues/158721540ispbox
07/05/2020, 12:00 PMmiha-x64
07/21/2020, 8:24 PMdip(value: Int): Int
dp(value: Int): Float
This looks counterintuitive to me.
Also, I miss (Float) -> Int overload: having Float dp makes much more sense than having Float pixels.miha-x64
07/21/2020, 8:37 PMreturn viewFactory(V::class.java
miha-x64
07/28/2020, 2:10 PMmiha-x64
07/28/2020, 9:00 PMContext.recyclerView()
and View.recyclerView()
have different behaviour?
https://github.com/LouisCAD/Splitties/blob/8782cbb5d039a553ed2c5cf795eb53a86146ce91/modules/views-dsl-recyclerview/src/androidMain/kotlin/splitties/views/dsl/recyclerview/RecyclerView.kt#L27pawegio
08/21/2020, 9:02 AMCaused by: java.lang.IllegalStateException: Couldn't obtain compiled function body for public final inline fun <get-progressBar>(): splitties.views.dsl.core.styles.ProgressBarAndroidStyles defined in splitties.views.dsl.core.styles.AndroidStyles[PropertyGetterDescriptorImpl@4d0bbd88]
at org.jetbrains.kotlin.codegen.inline.InlineCodegen$Companion.getCompiledMethodNodeInner(InlineCodegen.kt:579)
at org.jetbrains.kotlin.codegen.inline.InlineCodegen$Companion.createInlineMethodNode$backend(InlineCodegen.kt:543)
at org.jetbrains.kotlin.codegen.inline.InlineCodegen.performInline(InlineCodegen.kt:143)
... 74 more
louiscad
08/31/2020, 6:47 PMlouiscad
09/12/2020, 6:39 PM3.0.0-dev-105
succeeded, validating the hardened publishing process (that validates every artifact can be resolved in an actual multiplatform project before publishing).
Feel free to try upgrading your projects to Kotlin 1.4 and use this version.
I have some more work before a proper release, but I'm on good track!louiscad
09/14/2020, 11:42 AMlouiscad
09/14/2020, 11:47 AMpawegio
09/15/2020, 12:58 PM3.0.0-dev-105
and 3.0.0-beta01
) with assembling custom build type. I have alpha build type declared in app
module as follows:
buildTypes {
getByName("alpha") {
applicationIdSuffix = ".alpha"
versionNameSuffix = "-alpha"
}
}
Pierfrancesco Gulinelli
09/16/2020, 12:45 PMmiha-x64
09/19/2020, 1:51 PMUnreliableToastApi
warning. Nice approach!Pierfrancesco Gulinelli
10/02/2020, 1:55 PMSergio Crespo Toubes
03/08/2021, 12:19 PMdimsuz
04/20/2021, 11:29 AMandroid:textAppearance="?attr/textAppearanceSubtitle1"
Tried to find somthing like styledResourceId(R.attr.textAppearanceSubtitle1)
, but no luck.ispbox
04/26/2021, 8:22 PMribesg
06/02/2021, 11:16 AMsplitties-coroutines
from my Kotlin Native project fixed an error caused by (I think) the difference in kotlinx.coroutines version it was compiled againstmiha-x64
08/31/2021, 10:48 AMJon Miller
02/16/2022, 4:16 PM