# xamarin/mobile-samples

Repository: https://github.com/xamarin/mobile-samples
Canonical: https://ross.abutalabs.com/products/mobile-samples
Language: C#
License: NOASSERTION
License Family: other
Archived: true
Last push: 2020-12-16T15:45:37+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5405, "days_push": 2086, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1443, forks 2860 (observed 2026-08-28T04:04:44.817238+00:00)

## What it is
A collection of sample code demonstrating how to share code between Xamarin.iOS and Xamarin.Android cross-platform mobile apps. It powers Microsoft's Xamarin sample gallery and includes contribution guidelines for adding new samples.

## Use cases
- learn xamarin cross-platform mobile development
- find example code for sharing logic between ios and android in c#
- see how to structure a xamarin ios and android app
- get started with xamarin mobile samples
- reference sample apps when building xamarin apps

## When to choose
- you are learning Xamarin and want runnable example projects for iOS and Android
- you need reference code for sharing C# logic across mobile platforms
- you want to contribute a sample to the Xamarin sample gallery

## When to avoid
- you are starting a new production app, since Xamarin is deprecated in favor of .NET MAUI
- you need a library or framework rather than example code
- you need actively updated samples, as the repo's latest release dates to 2020

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: mobile-framework, developer-tools
- domain: mobile-development, tutorials, cross-platform
- platform: dotnet
- tags: xamarin, sample-code, csharp, cross-platform-mobile, ios, android

## Member repositories
- xamarin/mobile-samples (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:44.817238+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:36:22.591456+00:00, confidence not recorded.
  - readme: https://github.com/xamarin/mobile-samples (fetched 2026-08-28T04:04:44.817238+00:00, sha 9ac67a5c5fe4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
