Zsolt
07/23/2023, 11:35 AMZsolt
07/27/2023, 9:19 PMZsolt
08/01/2023, 2:20 PMDevesh Shetty
08/07/2023, 7:25 PMsavedStateHandle
to retrieve data within a ViewModel. What is the appyx way to do it?
2. How do I scope VMs to a certain node path?Zsolt
08/09/2023, 5:26 PMKyle
08/13/2023, 10:14 PMZsolt
08/18/2023, 9:12 AMZsolt
08/18/2023, 9:15 AM:demos:appyx-navigation:android
• :demos:appyx-navigation:desktop
• :demos:appyx-navigation:web
iOS is also on the way.Kyle
08/27/2023, 12:57 AMPriyanshu Jain
09/03/2023, 5:13 AMpepos
09/09/2023, 3:05 AMpepos
09/09/2023, 3:07 AMMarc
09/15/2023, 9:19 AMZsolt
09/15/2023, 4:54 PMKyle
09/29/2023, 7:20 PMkluck
10/11/2023, 9:23 AMoverride fun View(...)
, I have my bottom bar pager as a sibling to my AppyxComponent()
holding the 3 nodes.
On my buttons onClick
, I use spotlight.activate(index)
which works perfectly to load the corresponding node.
What I have trouble with, is when I'm using a simple SpotlightSlider.Gestures(...)
, the nodes are correctly changed, but I don't get how I can update my bottom bar index.
I didn't find any examples in the 2.x branch. All I can see are buttons outside the spotlight for sending operations, but nothing about a "feedback".
Any idea how I'm supposed to do that? In the presentation https://www.droidcon.com/2023/07/31/gesture-driven-multiplatform-transitions-with-appyx/ , I can see something like that at 25:05, but couldn't find this example anywhere in the repository…
Thanks!Vlad
10/12/2023, 3:37 PMKyle
10/13/2023, 2:27 PMZsolt
10/18/2023, 2:01 PMZsolt
10/20/2023, 2:29 PMGael Marhic
10/28/2023, 11:10 AMGael Marhic
10/30/2023, 10:44 AMryan.fonzi
11/02/2023, 4:32 PMGoToDefault
, GoToPrevious
, etc.).Lukas Anda
11/13/2023, 1:50 PMerror: java.lang.IllegalStateException: no implementation for FUN MISSING_DECLARATION name:DerivedSetup visibility:public modality:FINAL <> () returnType:kotlin.Nothing
in com.bumble.appyx.navigation.node.Node
As for my configuration, I used the latest output from Compose Multiplatform Wizard, which uses Kotlin 1.9.10 and Compose 1.5.1, appyx version is 2.0.0-alpha09 @ZsoltBobby Hargett
12/27/2023, 3:04 PMOndrej Stanek
01/05/2024, 3:26 PMclass ClassroomNode(
buildContext: BuildContext,
private val backStack: BackStack<ClassroomNavTarget> = BackStack(
model = BackStackModel(
initialTarget = ClassroomNavTarget.Classroom,
savedStateMap = buildContext.savedStateMap,
),
visualisation = { BackStackFader(it) }
)
) : ParentNode<ClassroomNavTarget>(
buildContext = buildContext,
appyxComponent = backStack
) {
...
override fun resolve(interactionTarget: ClassroomNavTarget, buildContext: BuildContext): Node =
when (interactionTarget) {
...
is ClassroomNavTarget.Lesson ->
// I feel like I need to pass the spotlight model here
// something like pseudo code below
// val lessonCards = classroomRepository.getLessonCards(interactionTarget.id) // but it is async
// val spotlight = Spotlight(model = SpotlightModel(initialItems = lessonCards))
// LessonNode(buildContext, popBackStack = { backStack.pop() }, spotlight)
LessonNode(buildContext, popBackStack = { backStack.pop() })
...
}
}
class LessonNode(
buildContext: BuildContext,
private val popBackStack: () -> Unit,
private val spotlight: Spotlight<StudyCards> = Spotlight(
model = SpotlightModel(
items = initialItems,
savedStateMap = null
),
visualisation = { SpotlightStack3D(it) },
gestureFactory = {
SpotlightSlider.Gestures(
transitionBounds = it,
orientation = Orientation.Vertical,
reverseOrientation = true,
)
},
)
) : ParentNode<StudyCards>(
buildContext = buildContext,
appyxComponent = spotlight
) {
Zsolt
01/25/2024, 11:08 AMUtku Yildiz
01/25/2024, 2:51 PMamezcua
06/26/2024, 7:56 AMError: Could not find or load main class com.bumble.appyx.demos.navigation.MainKt
Caused by: java.lang.ClassNotFoundException: com.bumble.appyx.demos.navigation.MainKt
I am comparing the config to the project I'm building, which was generated from the JetBrains template and runs fine in OSX desktop and I can not see significant differences except for the plugins section in Gradle, but I can't seem to configure it right for it to run.
Does anyone have any hints on how to run the navigation sample as a desktop app?Mark Murphy
11/21/2024, 5:59 PM