{"id":25621713,"url":"https://github.com/thecodetraveler/multipleviewmodelsample","last_synced_at":"2025-02-22T09:44:13.260Z","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":4,"default_branch":"main","last_synced_at":"2025-02-14T05:31:21.769Z","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"],"tags_count":0,"template":false,"template_full_name":null,"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","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240155307,"owners_count":19756620,"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","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":"2025-02-22T09:44:12.468Z","updated_at":"2025-02-22T09:44:13.256Z","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"}