{"id":19099444,"url":"https://github.com/TheCodeTraveler/MultipleViewModelSample","last_synced_at":"2025-09-08T04:31:42.697Z","repository":{"id":68231120,"uuid":"133276554","full_name":"TheCodeTraveler/MultipleViewModelSample","owner":"TheCodeTraveler","description":"An iOS and Anrdoid app built using Xamarin.Forms demonstrating how to have multiple views reference two different ViewModels from the same ContentPage","archived":false,"fork":false,"pushed_at":"2021-06-27T21:05:07.000Z","size":276,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-09-07T04:39:11.877Z","etag":null,"topics":["mvvm","xamarin","xamarin-android","xamarin-forms","xamarin-ios","xaml"],"latest_commit_sha":null,"homepage":null,"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/TheCodeTraveler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-05-13T21:43:10.000Z","updated_at":"2021-06-27T21:05:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"53ec37f4-db0e-45b4-aaa7-4921492b507b","html_url":"https://github.com/TheCodeTraveler/MultipleViewModelSample","commit_stats":null,"previous_names":["thecodetraveler/multipleviewmodelsample","brminnick/multipleviewmodelsample"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheCodeTraveler/MultipleViewModelSample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheCodeTraveler%2FMultipleViewModelSample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheCodeTraveler%2FMultipleViewModelSample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheCodeTraveler%2FMultipleViewModelSample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheCodeTraveler%2FMultipleViewModelSample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheCodeTraveler","download_url":"https://codeload.github.com/TheCodeTraveler/MultipleViewModelSample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheCodeTraveler%2FMultipleViewModelSample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274134642,"owners_count":25228198,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"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","xamarin","xamarin-android","xamarin-forms","xamarin-ios","xaml"],"created_at":"2024-11-09T03:50:06.842Z","updated_at":"2025-09-08T04:31:42.683Z","avatar_url":"https://github.com/TheCodeTraveler.png","language":"C#","readme":"# MultipleViewModelSample\nAn iOS and Anrdoid app built using Xamarin.Forms demonstrating how to have multiple views reference two different ViewModels from the same ContentPage\n\n\n```csharp\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003cContentPage xmlns=\"http://xamarin.com/schemas/2014/forms\" \n             xmlns:x=\"http://schemas.microsoft.com/winfx/2009/xaml\" \n             xmlns:local=\"clr-namespace:MultipleViewModelSample\" \n             x:Class=\"MultipleViewModelSample.MainPage\"\u003e\n    \n    \u003cStackLayout\n        HorizontalOptions=\"Center\"\n        VerticalOptions=\"Center\"\u003e\n        \n        \u003cLabel \n            x:Name=\"ViewModel1Label\" \n            BindingContext=\"{Binding Source ={local:ViewModel1 }}\" \n            Text=\"{Binding LabelText}\" \n            HorizontalOptions=\"Center\" \n            HorizontalTextAlignment=\"Center\" /\u003e\n        \u003cLabel \n            x:Name=\"ViewModel2Label\" \n            BindingContext=\"{Binding Source ={local:ViewModel2 }}\" \n            Text=\"{Binding LabelText}\" \n            HorizontalOptions=\"Center\" \n            HorizontalTextAlignment=\"Center\" /\u003e\n        \n    \u003c/StackLayout\u003e\n    \n\u003c/ContentPage\u003e\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTheCodeTraveler%2FMultipleViewModelSample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTheCodeTraveler%2FMultipleViewModelSample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTheCodeTraveler%2FMultipleViewModelSample/lists"}