Skip to content

[BUG] Lotie Animation Completed does not work #310

Open
@eduardoagr

Description

@eduardoagr

Description

I am using mvvm to navigate when the animation is completed and does not work

Code

<skia:SKLottieView AnimationCompleted="SKLottieView_AnimationCompleted" Source="wait.json"> <skia:SKLottieView.Behaviors> <toolkit:EventToCommandBehavior Command="{Binding CheckAuthCommand}" EventName="AnimationCompleted" /> </skia:SKLottieView.Behaviors>

`public partial class WelcomePageViewModel : ObservableObject {

[RelayCommand]
async Task CheckAuth() {
    await Shell.Current.GoToAsync($"//{nameof(LoginPage)}");
}

}
`

Expected Behavior

To be able no navigate

Actual Behavior

does not trigger

Basic Information

VS 2022
.Net 9
Android
Lotie package 2.0

Detailed IDE/OS information (click to expand)

PASTE ANY DETAILED VERSION INFO HERE

2.0.0

Screenshots

Reproduction Link

https://github.com/eduardoagr/MauiSamples

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions