{"id":19819040,"url":"https://github.com/yuv4ik/easymvvm","last_synced_at":"2026-05-14T06:32:01.905Z","repository":{"id":75897256,"uuid":"119452702","full_name":"yuv4ik/EasyMvvm","owner":"yuv4ik","description":"Small framework that simplifies MVVM on Xamarin.Forms (in development).","archived":false,"fork":false,"pushed_at":"2018-02-11T14:57:40.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T20:03:20.810Z","etag":null,"topics":["mvvm","mvvm-framework","xamarin-forms"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yuv4ik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-29T22:57:15.000Z","updated_at":"2018-01-29T23:34:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"1ff44bad-8091-4d44-b1e6-5366f71fef9f","html_url":"https://github.com/yuv4ik/EasyMvvm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yuv4ik/EasyMvvm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuv4ik%2FEasyMvvm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuv4ik%2FEasyMvvm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuv4ik%2FEasyMvvm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuv4ik%2FEasyMvvm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuv4ik","download_url":"https://codeload.github.com/yuv4ik/EasyMvvm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuv4ik%2FEasyMvvm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33013234,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mvvm","mvvm-framework","xamarin-forms"],"created_at":"2024-11-12T10:17:38.931Z","updated_at":"2026-05-14T06:32:01.900Z","avatar_url":"https://github.com/yuv4ik.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EasyMvvm\n\nSmall framework that simplifies MVVM on Xamarin.Forms (in development).\n\n## Installation\nTODO: Publish to NuGet\n\n## Features\n\n* IOC container ([Autofac](http://autofaccn.readthedocs.io/en/latest/index.html))\n* ViewModel first navigation with optional parameters. Please note that currently only [Hierarchical Navigation](https://developer.xamarin.com/guides/xamarin-forms/application-fundamentals/navigation/hierarchical/) is supported.\n* BaseViewModel with implemented INotifyPropertyChanged (just add [Fody](https://github.com/Fody/PropertyChanged))\n\n### Prerequisites\n\nBy convention all the Views should be in View directory and file names should end with View: \n```\n\\Views\\MainView.cs\n```\n All the ViewModels should be in ViewModels directory, should extend EasyMvvm.Core.BaseViewModel, should end with ViewModel and should match the View name:\n```\n\\ViewModels\\MainViewModel.cs\n```\n\nThis way EasyMvvm will be able to match the View by ViewModelName.\n### Usage\n\nSimply extend 'EasyMvvm.Core.BaseApplication':\n```\npublic partial class App : EasyMvvm.Core.BaseApplication\n{\n    // IoC Modules are registered automatically OnStart()\n    protected sealed override IList\u003cModule\u003e IocModules { get; }\n\n    public App()\n    {\n        InitializeComponent();\n\n        IocModules = new List\u003cModule\u003e\n        {\n            new ViewModelsModule()\n        };\n    }\n\n    protected async override void OnStart()\n    {\n        base.OnStart();\n        // Set the first page\n        var navigation = ViewModelLocator.Resolve\u003cINavigationService\u003e();\n        await navigation.PushAsync\u003cFirstViewModel\u003e();\n    }\n}\n```\nExample of an IOC Module:\n```\npublic class ViewModelsModule : Module\n{\n    protected override void Load(ContainerBuilder builder)\n    {\n        builder.RegisterType\u003cFirstViewModel\u003e().AsSelf();\n    }\n}\n```\nExample of a ViewModel:\n```\npublic class FirstViewModel : EasyMvvm.Core.BaseViewModel\n{\n    public ICommand NavigateToMainPageCmd { get; }\n\n    public FirstViewModel()\n    {\n        // INavigationService is available from the parent\n        NavigateToMainPageCmd = new Command(async () =\u003e await NavigationService.PushAsync\u003cMainViewModel\u003e(\"Hello world!\"));\n    }\n}\n```\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuv4ik%2Feasymvvm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuv4ik%2Feasymvvm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuv4ik%2Feasymvvm/lists"}