tcracknell
10/01/2020, 5:29 PMGuy Bieber
10/01/2020, 6:55 PMAlex Burdusel
10/01/2020, 7:21 PMcompose-compiler
event though I declared androidx.compose.compiler:compiler
as dependency.Neil
10/01/2020, 7:24 PMColton Idle
10/01/2020, 8:58 PMkotlinCompilerVersion '1.4.10'
it also mentions ext.kotlin_version = "1.4.20-M1"
Bsn Net
10/01/2020, 10:04 PMColton Idle
10/01/2020, 10:10 PMe: java.lang.NoSuchMethodError: org.jetbrains.kotlin.descriptors.ClassConstructorDescriptor.getVisibility()Lorg/jetbrains/kotlin/descriptors/DescriptorVisibility;
at org.jetbrains.kotlin.kapt3.stubs.ClassFileToSourceStubConverter.convertMethod(ClassFileToSourceStubConverter.kt:840)
at org.jetbrains.kotlin.kapt3.stubs.ClassFileToSourceStubConverter.convertClass(ClassFileToSourceStubConverter.kt:395)
at org.jetbrains.kotlin.kapt3.stubs.ClassFileToSourceStubConverter.convertTopLevelClass(ClassFileToSourceStubConverter.kt:186)
at org.jetbrains.kotlin.kapt3.stubs.ClassFileToSourceStubConverter.convert(ClassFileToSourceStubConverter.kt:131)
at org.jetbrains.kotlin.kapt3.AbstractKapt3Extension.generateKotlinSourceStubs(Kapt3Extension.kt:295)
at org.jetbrains.kotlin.kapt3.AbstractKapt3Extension.analysisCompleted(Kapt3Extension.kt:170)
at org.jetbrains.kotlin.kapt3.ClasspathBasedKapt3Extension.analysisCompleted(Kapt3Extension.kt:100)
...
Bsn Net
10/01/2020, 10:34 PMSam
10/01/2020, 11:05 PMalpha04
release, does anyone know if Navigation was merged yet?bruno.aybar
10/02/2020, 4:44 AMemptyList()
Canary 13 + Kotlin 1.4.10 = forces me to import java.util.Collections.emptyList
, does not allow me to reference the standard one.
(sorry, I do not know if this was happening in previous canary versions. I have just updated to Kotlin 1.4.10 to test alpha04)
P.S.: I tested Kotlin 1.4.10 in stable AS and in IDEA, no issues there.Vikas Singh
10/02/2020, 5:51 AMBsn Net
10/02/2020, 6:39 AMColton Idle
10/02/2020, 7:03 AMDieter Holz
10/02/2020, 8:38 AMTab(
text = { Text(homeScreenTab.title) },
selected = currentTab == homeScreenTab,
onClick = { currentTab = homeScreenTab }
)
When I click on the tab, the exception occurs (but only if the content of the tab contains a TextField)zoha131
10/02/2020, 9:37 AMcmd + click
on any standard Composable
it takes me to the class file instead of the kt file. e.g. When I cmd + click
on Image
it takes me to ImageKT.class
file instead of Image.kt
file. Anyone can help me with this?Rosen Dimov
10/02/2020, 10:13 AMLazyColumnFor
! I'm not sure if I'm doing something wrong, but I can't see any difference with the issue I filed sometime ago. I only had to change the version number for Kotlin and compose from alpha01 (last one I tested with) to 04. I also did Rebuild project a few times, not sure if this is enough for changes to take effect.
Also, what I see is that on every scroll the compose function gets called for certain items (added a Log.w
inside it to verify). On the other hand, everything is really smooth with RecyclerView
and with a more complex view than the one in the sample project in the issue.
I haven't changed anything to the code, apart from versions, in the sample project in the bug, probably I need to add something? Appologies if this is configuration issue! Thanks!Se7eN
10/02/2020, 10:24 AMLazyColumn
in alpha04?jaqxues
10/02/2020, 4:17 PMapi "*compose dependencies"*
• r8 / minification is enabled
Now assembleRelease won't work, it will fail at > Task :app:minifyReleaseWithR8
with a java.lang.NullPointerExceptionstreetsofboston
10/02/2020, 4:26 PMGuy Bieber
10/02/2020, 5:00 PMzoha131
10/02/2020, 6:08 PMBox
and Stack
deprecated now?Guy Bieber
10/02/2020, 6:19 PMzoha131
10/02/2020, 7:07 PMmatchConstraint
in compose ConstraintLayout
?Geert
10/02/2020, 7:11 PMGuy Bieber
10/02/2020, 7:44 PMExecution failed for task ':model:prepareDebugKotlinCompileTask'.
Could not resolve all files for configuration ‘:model:kotlin-extension’.> Could not find androidx.compose.compiler:compiler:1.0.0-alpha03. Searched in the following locations: - https://dl.bintray.com/kotlin/kotlin-eap/androidx/compose/compiler/compiler/1.0.0-alpha03/compiler-1.0.0-alpha03.pom - https://repo.maven.apache.org/maven2/androidx/compose/compiler/compiler/1.0.0-alpha03/compiler-1.0.0-alpha03.pom - https://dl.google.com/dl/android/maven2/androidx/compose/compiler/compiler/1.0.0-alpha03/compiler-1.0.0-alpha03.pom - https://jcenter.bintray.com/androidx/compose/compiler/compiler/1.0.0-alpha03/compiler-1.0.0-alpha03.pom Required by: project :model
zoha131
10/02/2020, 8:29 PMTextField
using imeAction
?streetsofboston
10/02/2020, 8:47 PMJimK
10/02/2020, 8:52 PMimport androidx.compose.foundation.layout.RowScope.weight
to
import androidx.compose.foundation.layout.RowScope.Companion.weight
zoha131
10/02/2020, 8:52 PMOutlinedTextField
at the bottom of the screen? It doesn’t get up of the keyboard first time. And for the third time it does not response at all.Vsevolod Ganin
10/02/2020, 9:45 PMclipChildren=false
? I have a Column
composed of scrollable LazyColumnFor
+ FloatingActionButton
and I want the scrollable column to be seen behind the FAB. But scrolling should end just above the FAB, not belowVsevolod Ganin
10/02/2020, 9:45 PMclipChildren=false
? I have a Column
composed of scrollable LazyColumnFor
+ FloatingActionButton
and I want the scrollable column to be seen behind the FAB. But scrolling should end just above the FAB, not belowZach Klippenstein (he/him) [MOD]
10/02/2020, 10:21 PMVsevolod Ganin
10/02/2020, 10:27 PMZach Klippenstein (he/him) [MOD]
10/02/2020, 10:35 PMVsevolod Ganin
10/02/2020, 11:10 PMMutableState
variable which stores the laid out height of FAB (modified by onPositioned
). And then the item list should be comprised with original list + one special item which get its height updated. And then in `LazyColumnFor`’s itemContent
we should add some kind of when
which inspects what kind of item we got to choose the right composable. Please correct me if I overcomplicated something. Oh boy this is hard 😅Zach Klippenstein (he/him) [MOD]
10/03/2020, 6:34 AMzoha131
10/03/2020, 8:58 AMZach Klippenstein (he/him) [MOD]
10/03/2020, 9:21 AM