Skip to content

[Question] ViewModel initialization #5

@FabriBertani

Description

@FabriBertani

Hi @dhindrik, I wondered why the TinyViewModel initialization, OnAppearing and OnDisappearing methods are running on the main thread (especially the initialization and OnAppearing) from the TinyView?
There are cases when viewmodels can run some kind of heavy operations on page load and since these methods are fired originally from the main thread, it can add a lot of work and stress, despite having a fire-and-forget mechanism.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions