https://kotlinlang.org logo
#compose
Title
# compose
k

Kismet

04/04/2020, 2:32 AM
Can't seem to get past this error.
java.lang.NoSuchMethodError: No static method setContent(Landroid/app/Activity;Lkotlin/jvm/functions/Function0;)Landroidx/compose/Composition; in class Landroidx/ui/core/WrapperKt; or its super classes
I'd like to use
0.1.0-dev08
to play with
AdapterList
.
a

Ash

04/04/2020, 2:45 AM
did you set this?
k

Kismet

04/06/2020, 7:53 AM
Yes.
a

Ash

04/08/2020, 10:57 PM
If you are still stuck I would look at the various GitHub examples and see if anyone is doing it. The way I found that I could not do what I wanted is because no one had it working.
c

coolchandrakumar

04/15/2020, 4:20 AM
I am using ViewGroup.setcontent{}. @Ash Fixed error as you mentioned the compiler option. Working find with LinearLayout as a parent. When it comes to ConstraintLayout and synthetic functions facing error like java.lang.NoClassDefFoundError: Failed resolution of:
Landroidx/constraintlayout/solver/widgets/Analyzer